implement creating and listing tasks

This commit is contained in:
marlon-erler
2024-07-24 13:31:28 +02:00
parent 5164e891f6
commit 14212da988
8 changed files with 277 additions and 171 deletions
+2 -4
View File
@@ -29,15 +29,13 @@ export default class TaskViewModel {
date: React.State<string> = new React.State("");
time: React.State<string> = new React.State("");
isPresentingSettingsModal: React.State<boolean> = new React.State(false);
// view
showSettings = (): void => {
this.isPresentingSettingsModal.value = true;
this.boardViewModel.selectTask(this);
};
hideSettings = (): void => {
this.isPresentingSettingsModal.value = false;
this.boardViewModel.closeTask();
};
hideSettingsAndSave = (): void => {