diff --git a/src/components/LeftMenu.vue b/src/components/LeftMenu.vue
index 6196c636a..1aabe1b6b 100644
--- a/src/components/LeftMenu.vue
+++ b/src/components/LeftMenu.vue
@@ -31,7 +31,7 @@ function findMatches(search, item) {
const matches = [];
function findRoute(search, item) {
for (const child of item.children) {
- if (search.indexOf(child.name) > -1) {
+ if (search?.indexOf(child.name) > -1) {
matches.push(child);
} else if (child.children) {
findRoute(search, child);
diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue
index 025a8a2e2..65a89ee28 100644
--- a/src/components/ui/CardDescriptor.vue
+++ b/src/components/ui/CardDescriptor.vue
@@ -111,25 +111,23 @@ watch($props, async () => {