Skip to content

Commit a3d271d

Browse files
committed
fix: fixed escape bug
1 parent 72e3764 commit a3d271d

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
@@ -45,7 +45,7 @@ onKeyDown('Escape', (e) => {
4545
if (!e.isTrusted || e.repeat)
4646
return
4747
48-
const { module, asset, plugin } = route.query
48+
const { module, asset, plugin, chunk } = route.query
4949
5050
if (module)
5151
closeFlowPanel()
@@ -55,6 +55,9 @@ onKeyDown('Escape', (e) => {
5555
5656
if (plugin)
5757
closePluginPanel()
58+
59+
if (chunk)
60+
closeChunkPanel()
5861
})
5962
6063
useSideNav(() => {

0 commit comments

Comments
 (0)