We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f1c86 commit 918de7fCopy full SHA for 918de7f
src/editor/FileSelector.vue
@@ -27,6 +27,7 @@ function focus({ el }: VNode) {
27
}
28
29
function doneAddFile() {
30
+ if (!pending.value) return
31
const filename = pendingFilename.value
32
33
if (!/\.(vue|js|ts|css)$/.test(filename)) {
0 commit comments