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 9a2d8fc commit 7676308Copy full SHA for 7676308
packages/core/src/client/standalone/App.vue
@@ -34,6 +34,12 @@ watch(
34
},
35
{ immediate: true },
36
)
37
+
38
+function switchEntry(id: string) {
39
+ if (id) {
40
+ context.docks.switchEntry(id)
41
+ }
42
+}
43
</script>
44
45
<template>
@@ -50,7 +56,7 @@ watch(
50
56
class="transition duration-200 p2"
51
57
:is-vertical="false"
52
58
:selected="context.docks.selected"
53
- @select="(e) => context.docks.switchEntry(e?.id)"
59
+ @select="(e) => switchEntry(e?.id)"
54
60
/>
55
61
</div>
62
<div>
0 commit comments