From 19b28b44d79487781b77eb68f6c7a2b85645ce2d Mon Sep 17 00:00:00 2001
From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com>
Date: Sun, 27 Apr 2025 11:33:13 +0800
Subject: [PATCH] Update SettingsView.vue
---
packages/frontend/src/views/SettingsView.vue | 72 ++++++++++----------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/packages/frontend/src/views/SettingsView.vue b/packages/frontend/src/views/SettingsView.vue
index e524d9c..aee0b1b 100644
--- a/packages/frontend/src/views/SettingsView.vue
+++ b/packages/frontend/src/views/SettingsView.vue
@@ -114,9 +114,9 @@
{{ $t('settings.ipWhitelist.hint') }}
-
@@ -184,9 +184,9 @@
-
- {{ captchaLoading ? $t('common.saving') : $t('settings.captcha.saveButton') }}
+
+ {{ $t('settings.captcha.saveButton') }}
{{ captchaMessage }}
@@ -213,9 +213,9 @@
class="w-full px-3 py-2 border border-border rounded-md shadow-sm bg-background text-foreground focus:outline-none focus:ring-1 focus:ring-primary focus:border-primary">
-
- {{ blacklistSettingsLoading ? $t('common.saving') : $t('settings.ipBlacklist.saveConfigButton') }}
+
+ {{ $t('settings.ipBlacklist.saveConfigButton') }}
{{ blacklistSettingsMessage }}
@@ -287,9 +287,9 @@
-
- {{ languageLoading ? $t('common.saving') : $t('settings.language.saveButton') }}
+
+ {{ $t('settings.language.saveButton') }}
{{ languageMessage }}
@@ -322,9 +322,9 @@
-
- {{ popupEditorLoading ? $t('common.saving') : $t('settings.popupEditor.saveButton') }}
+
+ {{ $t('settings.popupEditor.saveButton') }}
{{ popupEditorMessage }}
@@ -342,9 +342,9 @@
{{ $t('settings.shareEditorTabs.description') }}
-
- {{ shareTabsLoading ? $t('common.saving') : $t('settings.shareEditorTabs.saveButton') }}
+
+ {{ $t('settings.shareEditorTabs.saveButton') }}
{{ shareTabsMessage }}
@@ -361,9 +361,9 @@
-
- {{ autoCopyLoading ? $t('common.saving') : $t('settings.autoCopyOnSelect.saveButton') }}
+
+ {{ $t('settings.autoCopyOnSelect.saveButton') }}
{{ autoCopyMessage }}
@@ -381,9 +381,9 @@
{{ $t('settings.workspace.sidebarPersistentDescription') }}
-
- {{ workspaceSidebarPersistentLoading ? $t('common.saving') : $t('common.save') }}
+
+ {{ $t('common.save') }}
{{ workspaceSidebarPersistentMessage }}
@@ -406,9 +406,9 @@
{{ $t('settings.commandInputSync.description', '将命令输入框的内容实时同步到所选面板的搜索框。') }}
-
- {{ commandInputSyncLoading ? $t('common.saving') : $t('common.save') }}
+
+ {{ $t('common.save') }}
{{ commandInputSyncMessage }}
@@ -437,9 +437,9 @@
-
- {{ dockerSettingsLoading ? $t('common.saving') : t('settings.docker.saveButton') }}
+
+ {{ t('settings.docker.saveButton') }}
{{ dockerSettingsMessage }}
@@ -457,9 +457,9 @@
{{ t('settings.statusMonitor.refreshIntervalHint') }}
-
- {{ statusMonitorLoading ? $t('common.saving') : t('settings.statusMonitor.saveButton') }}
+
+ {{ t('settings.statusMonitor.saveButton') }}
{{ statusMonitorMessage }}
@@ -482,9 +482,9 @@
{{ t('settings.timezone.description', '通知中的时间戳将根据此时区进行格式化。') }}
-
- {{ timezoneLoading ? $t('common.saving') : t('common.save') }}
+
+ {{ t('common.save') }}
{{ timezoneMessage }}