allow renaming and replacing files in the vault - fixes #4110

This commit is contained in:
Eugene Pankov
2021-07-10 21:31:18 +02:00
parent 0008b2f022
commit 67bbbd7f65
6 changed files with 109 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
click: async () => {
const modal = this.ngbModal.open(PromptModalComponent)
modal.componentInstance.prompt = 'New profile name'
const name = (await modal.result)?.name
const name = (await modal.result)?.value
if (!name) {
return
}