From d32bd3937fb50bbb9c3317b34cc78cd772a04b21 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 10 Dec 2023 02:29:05 +0800 Subject: [PATCH] Fix: .env code change is not reactive (#270) --- backend/docker.ts | 3 --- frontend/src/pages/Compose.vue | 11 +++++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) delete mode 100644 backend/docker.ts diff --git a/backend/docker.ts b/backend/docker.ts deleted file mode 100644 index 4083a73..0000000 --- a/backend/docker.ts +++ /dev/null @@ -1,3 +0,0 @@ -export class Docker { - -} diff --git a/frontend/src/pages/Compose.vue b/frontend/src/pages/Compose.vue index 11caa2d..0bc8117 100644 --- a/frontend/src/pages/Compose.vue +++ b/frontend/src/pages/Compose.vue @@ -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) {