implement opening and editing tasks

This commit is contained in:
marlon-erler
2024-07-24 13:34:33 +02:00
parent 14212da988
commit 20b27d1a57
4 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -30,16 +30,16 @@ export default class TaskViewModel {
time: React.State<string> = new React.State("");
// view
showSettings = (): void => {
open = (): void => {
this.boardViewModel.selectTask(this);
};
hideSettings = (): void => {
close = (): void => {
this.boardViewModel.closeTask();
};
hideSettingsAndSave = (): void => {
this.hideSettings();
closeAndSave = (): void => {
this.close();
this.save();
};