working on extended states
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
const resp = await fetch(url,{credentials:'include'});
|
||||
if (resp.ok){
|
||||
project = await resp.json();
|
||||
console.log(project);
|
||||
// console.log(project);
|
||||
error = null;
|
||||
loadTasks();
|
||||
} else {
|
||||
@@ -143,7 +143,7 @@
|
||||
<tr>
|
||||
<th>{t('state')}</th>
|
||||
<td>
|
||||
<StateSelector selected={project.status} onchange={val => update({status:val})} project_id={id} />
|
||||
<StateSelector selected={project.status} onchange={val => update({status:val})} {project} />
|
||||
</td>
|
||||
</tr>
|
||||
{#if project.company}
|
||||
@@ -231,4 +231,4 @@
|
||||
<div class="notes">
|
||||
<h3>{t('notes')}</h3>
|
||||
<Notes module="project" entity_id={id} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
<tr>
|
||||
<th>{t('state')}</th>
|
||||
<td>
|
||||
<StateSelector selected={task.status} onchange={val => update({status:val})} project_id={task.project_id} />
|
||||
<StateSelector selected={task.status} onchange={val => update({status:val})} {project} />
|
||||
</td>
|
||||
</tr>
|
||||
{#if task.description}
|
||||
|
||||
Reference in New Issue
Block a user