diff --git a/src/components/ab-status-bar.vue b/src/components/ab-status-bar.vue index 7fcb1486..2b49f792 100644 --- a/src/components/ab-status-bar.vue +++ b/src/components/ab-status-bar.vue @@ -62,7 +62,7 @@ defineEmits(['clickAdd']); hover:bg-primary class="group" :class="[active ? 'text-white bg-theme-row' : 'text-black']" - @click="i.handle" + @click="() => i.handle && i.handle()" >
{{ i.label }}
diff --git a/src/components/layout/ab-topbar.vue b/src/components/layout/ab-topbar.vue index f098e5e2..2a2b8352 100644 --- a/src/components/layout/ab-topbar.vue +++ b/src/components/layout/ab-topbar.vue @@ -1,11 +1,18 @@