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 51ba350 commit c17a7baCopy full SHA for c17a7ba
src/ui/components/native/DialogChooseFolder.vue
@@ -116,7 +116,10 @@ export default {
116
this.selectedFolder = active[0]
117
},
118
onCreate(parentId) {
119
- const title = prompt('New folder title')
+ const title = prompt(this.t('LabelAddfolder'))
120
+ if (!title) {
121
+ return
122
+ }
123
this.$store.dispatch(actions.CREATE_FOLDER, {
124
accountId: this.accountId,
125
folder: new Folder({title, id: null, parentId})
0 commit comments