mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
UBERF-6314: provide space if all of the items have same space (#5171)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
445b14b821
commit
75cccaeb6b
@ -134,7 +134,7 @@
|
|||||||
<svelte:component
|
<svelte:component
|
||||||
this={headerComponent.presenter}
|
this={headerComponent.presenter}
|
||||||
value={category}
|
value={category}
|
||||||
{space}
|
space={space ?? (items.every((i) => i?.space === items[0]?.space) ? items[0]?.space : undefined)}
|
||||||
size={'small'}
|
size={'small'}
|
||||||
kind={'list-header'}
|
kind={'list-header'}
|
||||||
colorInherit={!$themeStore.dark && level === 0}
|
colorInherit={!$themeStore.dark && level === 0}
|
||||||
|
Loading…
Reference in New Issue
Block a user