mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 20:57:45 +02:00
UBER-1116: saving sidebar changes (#3919)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
@@ -203,7 +203,12 @@
|
||||
</script>
|
||||
|
||||
{#if shown}
|
||||
<TreeNode label={view.string.FilteredViews} node actions={async () => getActions(availableFilteredViews)}>
|
||||
<TreeNode
|
||||
_id={'tree-saved'}
|
||||
label={view.string.FilteredViews}
|
||||
node
|
||||
actions={async () => getActions(availableFilteredViews)}
|
||||
>
|
||||
{#each myFilteredViews as fv}
|
||||
<TreeItem
|
||||
_id={fv._id}
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<TreeNode label={model.label} node actions={async () => getParentActions()}>
|
||||
<TreeNode _id={'tree-' + model.id} label={model.label} node actions={async () => getParentActions()}>
|
||||
{#each filteredSpaces as space, i (space._id)}
|
||||
{#await getSpacePresenter(client, space._class) then presenter}
|
||||
{#if separate && model.specials && i !== 0}<TreeSeparator line />{/if}
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<TreeNode {label} node actions={async () => [unStarAll]}>
|
||||
<TreeNode _id={'tree-stared'} {label} node actions={async () => [unStarAll]}>
|
||||
{#each spaces as space (space._id)}
|
||||
{@const model = models.find((p) => p.spaceClass === space._class)}
|
||||
{#await getSpacePresenter(client, space._class) then presenter}
|
||||
|
||||
Reference in New Issue
Block a user