mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-08 16:33:16 +00:00
UBER-654 Fix table view stats display (#3540)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
7cabfc746e
commit
746d8a1c41
@ -362,7 +362,7 @@
|
|||||||
{#if departmentStaff.length}
|
{#if departmentStaff.length}
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<Loading />
|
<Loading />
|
||||||
{:else if viewlet}
|
{:else}
|
||||||
<div class="ac-header full divide">
|
<div class="ac-header full divide">
|
||||||
<div class="clear-mins" />
|
<div class="clear-mins" />
|
||||||
<div class="ac-header-full small-gap">
|
<div class="ac-header-full small-gap">
|
||||||
@ -370,6 +370,7 @@
|
|||||||
<ViewletSettingButton viewletQuery={{ _id: hr.viewlet.StaffStats }} bind:viewlet bind:preference bind:loading />
|
<ViewletSettingButton viewletQuery={{ _id: hr.viewlet.StaffStats }} bind:viewlet bind:preference bind:loading />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{#if viewlet}
|
||||||
{#await createConfig(viewlet, preference, month) then config}
|
{#await createConfig(viewlet, preference, month) then config}
|
||||||
<TableBrowser
|
<TableBrowser
|
||||||
tableId={'exportableData'}
|
tableId={'exportableData'}
|
||||||
@ -380,6 +381,7 @@
|
|||||||
/>
|
/>
|
||||||
{/await}
|
{/await}
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<div class="flex-center h-full w-full flex-grow fs-title">
|
<div class="flex-center h-full w-full flex-grow fs-title">
|
||||||
<Label label={hr.string.NoEmployeesInDepartment} />
|
<Label label={hr.string.NoEmployeesInDepartment} />
|
||||||
|
Loading…
Reference in New Issue
Block a user