[wip] フォルダー名の変更と削除機能を実装 (#5874)
* フォルダーの削除機能を実装 * フォルダ名の変更を実装 * ダイアログの削除(v11準拠)とエラーメッセージを表示するように * ダイアログのテキストのkeypathを変更
This commit is contained in:
parent
e812d054bc
commit
18458f418f
2 changed files with 45 additions and 2 deletions
|
@ -57,11 +57,11 @@ export default Vue.extend({
|
|||
}, this.folder ? {
|
||||
text: this.$t('renameFolder'),
|
||||
icon: faICursor,
|
||||
action: () => { this.$refs.drive.renameFolder(); }
|
||||
action: () => { this.$refs.drive.renameFolder(this.folder); }
|
||||
} : undefined, this.folder ? {
|
||||
text: this.$t('deleteFolder'),
|
||||
icon: faTrashAlt,
|
||||
action: () => { this.$refs.drive.deleteFolder(); }
|
||||
action: () => { this.$refs.drive.deleteFolder(this.folder); }
|
||||
} : undefined, {
|
||||
text: this.$t('createFolder'),
|
||||
icon: faFolderPlus,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue