diff --git a/app/components/AuditLog.vue b/app/components/AuditLog.vue
index 9372dcf..1cfec3d 100644
--- a/app/components/AuditLog.vue
+++ b/app/components/AuditLog.vue
@@ -6,7 +6,7 @@
[
- { label: t("audit.allGroups"), value: "all" },
+ { label: t("audit.allGroups"), value: "*" }, // "*" is no group id: one named "all" stays selectable
...props.groups.map((g) => ({ label: g.name || g.id, value: g.id })),
]);
function onGroupFilter(value: string): void {
- emit("update:selectedGroupId", value === "all" ? "" : value);
+ emit("update:selectedGroupId", value === "*" ? "" : value);
emit("filter");
}
diff --git a/app/components/MetricsPanel.vue b/app/components/MetricsPanel.vue
index e5ee098..1a8c152 100644
--- a/app/components/MetricsPanel.vue
+++ b/app/components/MetricsPanel.vue
@@ -20,7 +20,7 @@ const emit = defineEmits<{
const sortBy = ref<"total" | "failed" | "rate">("total");
const groupOptions = computed(() => [
- { label: t("metrics.allGroups"), value: "all" },
+ { label: t("metrics.allGroups"), value: "*" }, // "*" is no group id: one named "all" stays selectable
...props.groups.map((g) => ({ label: g.name || g.id, value: g.id })),
]);
@@ -34,7 +34,7 @@ function pctOf(count: number, total: number): string {
}
function onGroupFilter(value: string): void {
- emit("update:selectedGroupId", value === "all" ? "" : value);
+ emit("update:selectedGroupId", value === "*" ? "" : value);
emit("filter");
}
@@ -120,7 +120,7 @@ function cycleSort(): void {
{{ t("logs.filterGroup") }}
[
- { label: t("logs.allGroups"), value: "all" },
+ { label: t("logs.allGroups"), value: "*" }, // "*" is no group id: one named "all" stays selectable
...props.groups.map((g) => ({ label: g.name || g.id, value: g.id })),
]);
@@ -142,7 +142,7 @@ function refresh(): void {
}
function onGroupFilter(value: string): void {
- emit("update:selectedGroupId", value === "all" ? "" : value);
+ emit("update:selectedGroupId", value === "*" ? "" : value);
emit("filter");
}