mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Fix list create props (#2580)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
dd7ee1c362
commit
f31bf01247
@ -93,33 +93,35 @@
|
|||||||
|
|
||||||
{#each categories as category, i}
|
{#each categories as category, i}
|
||||||
{@const items = groupedDocs[category] ?? []}
|
{@const items = groupedDocs[category] ?? []}
|
||||||
<ListCategory
|
{#key category}
|
||||||
{elementByIndex}
|
<ListCategory
|
||||||
{indexById}
|
{elementByIndex}
|
||||||
{extraHeaders}
|
{indexById}
|
||||||
{space}
|
{extraHeaders}
|
||||||
{selectedObjectIds}
|
{space}
|
||||||
{headerComponent}
|
{selectedObjectIds}
|
||||||
initIndex={getInitIndex(categories, i)}
|
{headerComponent}
|
||||||
{baseMenuClass}
|
initIndex={getInitIndex(categories, i)}
|
||||||
{level}
|
{baseMenuClass}
|
||||||
{viewOptions}
|
{level}
|
||||||
{groupByKey}
|
{viewOptions}
|
||||||
{config}
|
{groupByKey}
|
||||||
{docByIndex}
|
{config}
|
||||||
{itemModels}
|
{docByIndex}
|
||||||
{_class}
|
{itemModels}
|
||||||
singleCat={level === 0 && categories.length === 1}
|
{_class}
|
||||||
{category}
|
singleCat={level === 0 && categories.length === 1}
|
||||||
{items}
|
{category}
|
||||||
{newObjectProps}
|
{items}
|
||||||
{createItemDialog}
|
{newObjectProps}
|
||||||
{createItemLabel}
|
{createItemDialog}
|
||||||
{loadingPropsLength}
|
{createItemLabel}
|
||||||
on:check
|
{loadingPropsLength}
|
||||||
on:uncheckAll
|
on:check
|
||||||
on:row-focus
|
on:uncheckAll
|
||||||
{flatHeaders}
|
on:row-focus
|
||||||
{props}
|
{flatHeaders}
|
||||||
/>
|
{props}
|
||||||
|
/>
|
||||||
|
{/key}
|
||||||
{/each}
|
{/each}
|
||||||
|
Loading…
Reference in New Issue
Block a user