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 5a92a92 commit 7467f38Copy full SHA for 7467f38
src/editor/FileSelector.vue
@@ -58,6 +58,11 @@ function focus({ el }: VNode) {
58
59
function doneNameFile() {
60
if (!pending.value) return
61
+ if (!pendingFilename.value) {
62
+ pending.value = false
63
+ return
64
+ }
65
+
66
// add back the src prefix
67
const filename = 'src/' + pendingFilename.value
68
const oldFilename = pending.value === true ? '' : pending.value
0 commit comments