Skip to content

Commit c17a7ba

Browse files
committed
fix(DialogChooseFolder)
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 51ba350 commit c17a7ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ui/components/native/DialogChooseFolder.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export default {
116116
this.selectedFolder = active[0]
117117
},
118118
onCreate(parentId) {
119-
const title = prompt('New folder title')
119+
const title = prompt(this.t('LabelAddfolder'))
120+
if (!title) {
121+
return
122+
}
120123
this.$store.dispatch(actions.CREATE_FOLDER, {
121124
accountId: this.accountId,
122125
folder: new Folder({title, id: null, parentId})

0 commit comments

Comments
 (0)