TSK-1088: Show Kanban counters (#2924)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2023-04-08 00:15:22 +07:00 committed by GitHub
parent 556cfb31d0
commit 8e0d162871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 8 deletions

View File

@ -245,7 +245,7 @@
<svelte:fragment slot="header" let:state let:count>
<!-- {@const status = $statusStore.get(state._id)} -->
<div class="header flex-col">
<div class="flex-row-center flex-between">
<div class="flex-row-center">
{#if groupByKey === noCategory}
<span class="text-base fs-bold overflow-label content-accent-color pointer-events-none">
<Label label={view.string.NoGrouping} />
@ -253,6 +253,9 @@
{:else if headerComponent}
<svelte:component this={headerComponent.presenter} value={state} {space} kind={'list-header'} />
{/if}
<span class="ml-1">
{count}
</span>
</div>
</div>
</svelte:fragment>

View File

@ -264,14 +264,19 @@
<!-- {@const status = $statusStore.get(state._id)} -->
<div class="header flex-col">
<div class="flex-row-center flex-between">
{#if groupByKey === noCategory}
<span class="text-base fs-bold overflow-label content-accent-color pointer-events-none">
<Label label={view.string.NoGrouping} />
<div class="flex-row-center gap-1">
{#if groupByKey === noCategory}
<span class="text-base fs-bold overflow-label content-accent-color pointer-events-none">
<Label label={view.string.NoGrouping} />
</span>
{:else if headerComponent}
<svelte:component this={headerComponent.presenter} value={state} {space} kind={'list-header'} />
{/if}
<span class="ml-1">
{count}
</span>
{:else if headerComponent}
<svelte:component this={headerComponent.presenter} value={state} {space} kind={'list-header'} />
{/if}
<div class="flex gap-1">
</div>
<div class="flex-row-center gap-1">
<Button
icon={IconAdd}
kind={'transparent'}