Skip to content

Commit d690ee2

Browse files
authored
fix(core): toggle dock command entry instead of always switching (#265)
1 parent 13352a8 commit d690ee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export async function createDocksContext(
204204
title: entry.title,
205205
icon: typeof entry.icon === 'string' ? entry.icon : undefined,
206206
action: () => {
207-
switchEntry(entry.id)
207+
toggleEntry(entry.id)
208208
},
209209
}
210210
})

0 commit comments

Comments
 (0)