implemented deletion of tasks

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-07-27 12:46:16 +02:00
parent e6516f3b8d
commit ac45517d7f
15 changed files with 105 additions and 31 deletions

View File

@@ -94,7 +94,11 @@
});
if (resp.ok){
delete tasks[task.assignee][task.status.code][task.id]
if (!tasks[user]) tasks[user] = {}
if (!tasks[user][state]) tasks[user][state] = {}
tasks[user][state][task.id] = task;
task.assignee = user;
task.status = {code:state,name:states[state]};
error = null;
} else {
error = await resp.text();