Browse Source

improved task view:

parent task no longer disappears when task is updated

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
feature/singleton_registry
Stephan Richter 2 months ago
parent
commit
e8e215f24c
  1. 2
      frontend/src/routes/task/View.svelte

2
frontend/src/routes/task/View.svelte

@ -143,7 +143,9 @@ @@ -143,7 +143,9 @@
});
if (resp.ok){
error = null;
let old_task = task;
task = await resp.json();
if (task.parent_id == old_task.parent_id) task.parent = old_task.parent;
return true;
} else {
error = await resp.text();

Loading…
Cancel
Save