worked on notes
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user