Skip to content

Commit

Permalink
Fix #8 (folders cannot be deleted)
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Jun 17, 2021
1 parent 2266ece commit dfa0a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/ChoiceBuilder/templateChoiceBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class TemplateChoiceBuilder extends ChoiceBuilder {
target: folderList,
props: {
folders: this.choice.folder.folders,
deleteCommand: (folder: string) => {
deleteFolder: (folder: string) => {
this.choice.folder.folders = this.choice.folder.folders.filter(f => f !== folder);
folderListEl.updateFolders(this.choice.folder.folders);
suggester.updateCurrentItems(this.choice.folder.folders);
Expand Down

0 comments on commit dfa0a9c

Please sign in to comment.