kanban no longer showing tasks having no_index flag
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
</script>
|
||||
|
||||
<footer>
|
||||
{@html t('advertisement','<a href="https://srsoftware.de">SRSoftware</a>')}
|
||||
{@html t('advertisement',{producer:'<a href="https://srsoftware.de">SRSoftware</a>'})}
|
||||
</footer>
|
||||
@@ -49,6 +49,7 @@
|
||||
async function loadTasks(selector){
|
||||
const url = api('task/list');
|
||||
selector.show_closed = true;
|
||||
selector.no_index = true;
|
||||
var resp = await fetch(url,{
|
||||
credentials: 'include',
|
||||
method:'POST',
|
||||
@@ -134,7 +135,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
.highlight{
|
||||
background: red;
|
||||
background: #4b3000;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -157,7 +158,7 @@
|
||||
{#each Object.entries(states) as [state,name]}
|
||||
<div class={[state, highlight.user == user && highlight.state == state ? 'highlight':'']} ondragover={ev => hover(ev,user,state)} ondrop={ev => drop(user,state)} >
|
||||
{#if stateList[state]}
|
||||
{#each Object.entries(stateList[state]) as [tid,task]}
|
||||
{#each Object.values(stateList[state]).sort((a,b) => a.name.localeCompare(b.name)) as task}
|
||||
<div draggable="true" class="box" onclick={() => router.navigate(`/task/${task.id}/view`)} ondragstart={ev => dragged=task} >{task.name}</div>
|
||||
{/each}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user