fix bug where discarding changes would not update the view
This commit is contained in:
@@ -90,6 +90,11 @@ export default class TaskViewModel {
|
||||
this.containingModel.closeTask();
|
||||
};
|
||||
|
||||
closeAndDiscard = (): void => {
|
||||
this.close();
|
||||
this.loadTaskData();
|
||||
}
|
||||
|
||||
closeAndSave = (): void => {
|
||||
this.close();
|
||||
this.save();
|
||||
|
||||
Reference in New Issue
Block a user