Improve tooltip styles and guard search query

Add Vuetify tooltip CSS for better contrast and readability in light/dark themes (sets background/text colors, font-size, weight, padding, radius, shadow and forces opacity) in GUI/src/global.css. In AdminUsers.vue, guard against null/undefined `searchQuery.value` by using `searchQuery.value ?? ''` before trimming and lowercasing to prevent runtime errors when the query is unset.
This commit is contained in:
Jonas
2026-04-26 19:05:15 +02:00
parent 6740038e9a
commit 3c780e292b
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ const adminCount = computed(
)
const filteredUsers = computed(() => {
const query = searchQuery.value.trim().toLowerCase()
const query = (searchQuery.value ?? '').trim().toLowerCase()
if (query.length === 0) {
return users.value
}