diff --git a/dashboard/src/i18n/locales/en-US/features/command.json b/dashboard/src/i18n/locales/en-US/features/command.json index b20044e3c..aee2d9c45 100644 --- a/dashboard/src/i18n/locales/en-US/features/command.json +++ b/dashboard/src/i18n/locales/en-US/features/command.json @@ -74,6 +74,7 @@ "disabled": "Disabled", "conflict": "Conflict", "byPlugin": "Filter by plugin", - "byPermission": "Filter by permission" + "byPermission": "Filter by permission", + "byStatus": "Filter by status" } } diff --git a/dashboard/src/i18n/locales/zh-CN/features/command.json b/dashboard/src/i18n/locales/zh-CN/features/command.json index da7fc259f..a2fad4203 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/command.json +++ b/dashboard/src/i18n/locales/zh-CN/features/command.json @@ -74,6 +74,7 @@ "disabled": "已禁用", "conflict": "有冲突", "byPlugin": "按插件筛选", - "byPermission": "按权限筛选" + "byPermission": "按权限筛选", + "byStatus": "按状态筛选" } } diff --git a/dashboard/src/views/CommandPage.vue b/dashboard/src/views/CommandPage.vue index 1bd9c23c3..09ec8f25e 100644 --- a/dashboard/src/views/CommandPage.vue +++ b/dashboard/src/views/CommandPage.vue @@ -265,52 +265,8 @@ onMounted(async () => { - - - - - -
{{ summary.total }}
-
{{ tm('summary.total') }}
-
-
-
- - - -
{{ summary.disabled }}
-
{{ tm('summary.disabled') }}
-
-
-
- - - -
{{ summary.conflicts }}
-
{{ tm('summary.conflicts') }}
-
-
-
-
- - -
-
- -
-
- - - + + { { title: tm('filters.disabled'), value: 'disabled' }, { title: tm('filters.conflict'), value: 'conflict' } ]" + :label="tm('filters.byStatus')" density="compact" variant="outlined" hide-details @@ -352,11 +309,40 @@ onMounted(async () => { + +
+
+ +
+
+
+ mdi-console-line + {{ tm('summary.total') }}: + {{ summary.total }} +
+ +
+ mdi-close-circle-outline + {{ tm('summary.disabled') }}: + {{ summary.disabled }} +
+
+
+