Skip to content

Commit 0259bcf

Browse files
authored
fix(core): set open state false when switching to no entry (#337)
1 parent 7c0f580 commit 0259bcf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/core/src/client/webcomponents/state

packages/core/src/client/webcomponents/state/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export async function createDocksContext(
5151
const switchEntry = async (id: string | null = null) => {
5252
if (id == null) {
5353
selectedId.value = null
54+
panelStore.value.open = false
5455
return true
5556
}
5657
if (id === '~client-auth-notice') {

0 commit comments

Comments
 (0)