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}
|
||||
{@const items = groupedDocs[category] ?? []}
|
||||
<ListCategory
|
||||
{elementByIndex}
|
||||
{indexById}
|
||||
{extraHeaders}
|
||||
{space}
|
||||
{selectedObjectIds}
|
||||
{headerComponent}
|
||||
initIndex={getInitIndex(categories, i)}
|
||||
{baseMenuClass}
|
||||
{level}
|
||||
{viewOptions}
|
||||
{groupByKey}
|
||||
{config}
|
||||
{docByIndex}
|
||||
{itemModels}
|
||||
{_class}
|
||||
singleCat={level === 0 && categories.length === 1}
|
||||
{category}
|
||||
{items}
|
||||
{newObjectProps}
|
||||
{createItemDialog}
|
||||
{createItemLabel}
|
||||
{loadingPropsLength}
|
||||
on:check
|
||||
on:uncheckAll
|
||||
on:row-focus
|
||||
{flatHeaders}
|
||||
{props}
|
||||
/>
|
||||
{#key category}
|
||||
<ListCategory
|
||||
{elementByIndex}
|
||||
{indexById}
|
||||
{extraHeaders}
|
||||
{space}
|
||||
{selectedObjectIds}
|
||||
{headerComponent}
|
||||
initIndex={getInitIndex(categories, i)}
|
||||
{baseMenuClass}
|
||||
{level}
|
||||
{viewOptions}
|
||||
{groupByKey}
|
||||
{config}
|
||||
{docByIndex}
|
||||
{itemModels}
|
||||
{_class}
|
||||
singleCat={level === 0 && categories.length === 1}
|
||||
{category}
|
||||
{items}
|
||||
{newObjectProps}
|
||||
{createItemDialog}
|
||||
{createItemLabel}
|
||||
{loadingPropsLength}
|
||||
on:check
|
||||
on:uncheckAll
|
||||
on:row-focus
|
||||
{flatHeaders}
|
||||
{props}
|
||||
/>
|
||||
{/key}
|
||||
{/each}
|
||||
|
Loading…
Reference in New Issue
Block a user