Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/core/src/client/standalone/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ watch(
},
{ immediate: true },
)

function switchEntry(id: string) {
Comment thread
webfansplz marked this conversation as resolved.
Outdated
if (id) {
context.docks.switchEntry(id)
}
}
</script>

<template>
Expand All @@ -52,7 +58,7 @@ watch(
:groups="context.docks.groupedEntries"
:is-vertical="false"
:selected="context.docks.selected"
@select="(e) => context.docks.switchEntry(e?.id)"
@select="(e) => switchEntry(e?.id)"
>
<template #separator>
<div class="border-base border-b w-full my-2" />
Expand Down
Loading