mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +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
|
||||
this={headerComponent.presenter}
|
||||
value={category}
|
||||
{space}
|
||||
space={space ?? (items.every((i) => i?.space === items[0]?.space) ? items[0]?.space : undefined)}
|
||||
size={'small'}
|
||||
kind={'list-header'}
|
||||
colorInherit={!$themeStore.dark && level === 0}
|
||||
|
Loading…
Reference in New Issue
Block a user