We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6c707 commit 72c1341Copy full SHA for 72c1341
packages/core/src/client/standalone/App.vue
@@ -35,6 +35,12 @@ watch(
35
},
36
{ immediate: true },
37
)
38
+
39
+function switchEntry(id: string) {
40
+ if (id) {
41
+ context.docks.switchEntry(id)
42
+ }
43
+}
44
</script>
45
46
<template>
@@ -52,7 +58,7 @@ watch(
52
58
:groups="context.docks.groupedEntries"
53
59
:is-vertical="false"
54
60
:selected="context.docks.selected"
55
- @select="(e) => context.docks.switchEntry(e?.id)"
61
+ @select="(e) => switchEntry(e?.id)"
56
62
>
57
63
<template #separator>
64
<div class="border-base border-b w-full my-2" />
0 commit comments