mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
TSK-1088: Show Kanban counters (#2924)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
556cfb31d0
commit
8e0d162871
@ -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>
|
||||
|
@ -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'}
|
||||
|
Loading…
Reference in New Issue
Block a user