From 6727038abc6813e9a9c1c4f29f91a28e5e2c0af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Thu, 1 Dec 2022 11:58:05 +0100 Subject: [PATCH] Prevent compose chart auto refresh when creating --- client/web/compose/src/views/Admin/Charts/Edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/compose/src/views/Admin/Charts/Edit.vue b/client/web/compose/src/views/Admin/Charts/Edit.vue index 895e775b6..2bdb0b97f 100644 --- a/client/web/compose/src/views/Admin/Charts/Edit.vue +++ b/client/web/compose/src/views/Admin/Charts/Edit.vue @@ -433,7 +433,7 @@ export default { 'chart.config': { deep: true, handler (value, oldValue) { - if (value && oldValue) { + if (value && oldValue && this.isEdit) { this.onConfigUpdate() } },