Fix: .env code change is not reactive (#270)

This commit is contained in:
Louis Lam 2023-12-10 02:29:05 +08:00 committed by GitHub
parent 007eac7b58
commit d32bd3937f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +0,0 @@
export class Docker {
}

View file

@ -374,6 +374,17 @@ export default {
},
deep: true,
},
"stack.composeENV": {
handler() {
if (this.editorFocus) {
console.debug("env code changed");
this.yamlCodeChange();
}
},
deep: true,
},
jsonConfig: {
handler() {
if (!this.editorFocus) {