Fix add component keyboard shortcut

This commit is contained in:
Andrew Kingston 2023-08-23 15:21:18 +01:00
parent 9883157f30
commit 4759cdffe7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
confirmEjectDialog.show() confirmEjectDialog.show()
}, },
["Ctrl+Enter"]: () => { ["Ctrl+Enter"]: () => {
$goto("./new") $goto(`./${$store.selectedComponentId}/new`)
}, },
["Delete"]: component => { ["Delete"]: component => {
// Don't show confirmation for the screen itself // Don't show confirmation for the screen itself