worked on notes

This commit is contained in:
2025-07-28 23:21:19 +02:00
parent 65df45482f
commit 3a348ddce1
9 changed files with 22 additions and 17 deletions

View File

@@ -50,7 +50,6 @@
parent_task = await resp.json();
task.parent_task_id = +parent_task_id;
project_id = parent_task.project_id;
console.log({prj:project_id});
error = null;
project = null; // TODO
} else {
@@ -64,7 +63,8 @@
if (resp.ok){
project = await resp.json();
task.project_id = +project_id;
task.members = JSON.parse(JSON.stringify(parent_task?parent_task.members:project.members)); // deep copy
let member_source = parent_task?parent_task.members:project.members;
task.members = JSON.parse(JSON.stringify(member_source)); // deep copy
error = null;
} else {
error = await resp.text();

View File

@@ -184,7 +184,7 @@
<StateSelector selected={task.status.code} onchange={val => update({status:val})} project_id={task.project_id} />
</td>
</tr>
{#if task.description.rendered}
{#if task.description.source}
<tr>
<th>{t('description')}</th>
<td class="description">