From ff197839b3a9433430be86671c618abc24cd2286 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 9 Oct 2024 04:12:11 +0200 Subject: [PATCH] Moved the `DebugMonitorDialog` into its own component --- src/components/DebugMonitorDialog.vue | 201 ++++++++++++++++++++++++++ src/pages/EditMonitor.vue | 151 +------------------ 2 files changed, 205 insertions(+), 147 deletions(-) create mode 100644 src/components/DebugMonitorDialog.vue diff --git a/src/components/DebugMonitorDialog.vue b/src/components/DebugMonitorDialog.vue new file mode 100644 index 00000000..67d59b91 --- /dev/null +++ b/src/components/DebugMonitorDialog.vue @@ -0,0 +1,201 @@ + + + diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index c04f9849..b5ea27da 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -995,7 +995,7 @@ class="btn btn-outline-primary" type="button" :disabled="processing" - @click.stop="modal.show()" + @click="$refs.debugMonitorDialog.show()" > {{ $t("Debug") }} @@ -1010,58 +1010,10 @@ - +