From 17931b5cce5cc484392845749d90035df6fc826b Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Tue, 11 Feb 2025 15:27:56 -0300 Subject: [PATCH] ping-viewer-next-frontend: App: Ping1DSettings: Change commands to debounced method --- .../widgets/sonar1d/Ping1DSettings.vue | 99 +++++++++---------- 1 file changed, 45 insertions(+), 54 deletions(-) diff --git a/ping-viewer-next-frontend/src/components/widgets/sonar1d/Ping1DSettings.vue b/ping-viewer-next-frontend/src/components/widgets/sonar1d/Ping1DSettings.vue index 4672efe1..cdf22f77 100644 --- a/ping-viewer-next-frontend/src/components/widgets/sonar1d/Ping1DSettings.vue +++ b/ping-viewer-next-frontend/src/components/widgets/sonar1d/Ping1DSettings.vue @@ -5,6 +5,7 @@
+
+ @update:model-value="handleAutoModeChange">
@@ -29,9 +30,9 @@
+ density="compact" hide-details style="width: 80px" @update:model-value="debouncedSaveSettings" /> + density="compact" hide-details style="width: 80px" @update:model-value="debouncedSaveSettings" />
@@ -44,7 +45,7 @@
+ density="compact" hide-details class="mb-4" @update:model-value="debouncedSaveSettings">
@@ -58,26 +59,18 @@
+ class="flex-grow-1" @update:model-value="debouncedSaveSettings"> + density="compact" hide-details style="width: 80px" @update:model-value="debouncedSaveSettings">
- - - -
- - {{ isSaving ? 'Applying...' : 'Apply Settings' }} - -