Skip to content

Commit 6220746

Browse files
committed
fix: fixed escape bug
1 parent 6429805 commit 6220746

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/devtools-vite/src/app/pages/session/[session].vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ onKeyDown('Escape', (e) => {
4646
if (!e.isTrusted || e.repeat)
4747
return
4848
49-
const { module, asset, plugin } = route.query
49+
const { module, asset, plugin, chunk } = route.query
5050
5151
if (module)
5252
closeFlowPanel()
@@ -56,6 +56,9 @@ onKeyDown('Escape', (e) => {
5656
5757
if (plugin)
5858
closePluginPanel()
59+
60+
if (chunk)
61+
closeChunkPanel()
5962
})
6063
6164
useSideNav(() => {

0 commit comments

Comments
 (0)