mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-24 01:07:50 +00:00
parent
44b4649d40
commit
616798b85f
@ -18,7 +18,13 @@
|
|||||||
import { getClient } from '@hcengineering/presentation'
|
import { getClient } from '@hcengineering/presentation'
|
||||||
import { AnyComponent, Component, resolvedLocationStore } from '@hcengineering/ui'
|
import { AnyComponent, Component, resolvedLocationStore } from '@hcengineering/ui'
|
||||||
import view, { ViewOptions, Viewlet } from '@hcengineering/view'
|
import view, { ViewOptions, Viewlet } from '@hcengineering/view'
|
||||||
import { activeViewlet, makeViewletKey, updateActiveViewlet } from '@hcengineering/view-resources'
|
import {
|
||||||
|
activeViewlet,
|
||||||
|
getViewOptions,
|
||||||
|
makeViewletKey,
|
||||||
|
updateActiveViewlet,
|
||||||
|
viewOptionStore
|
||||||
|
} from '@hcengineering/view-resources'
|
||||||
import type { ViewConfiguration } from '@hcengineering/workbench'
|
import type { ViewConfiguration } from '@hcengineering/workbench'
|
||||||
import { onDestroy } from 'svelte'
|
import { onDestroy } from 'svelte'
|
||||||
import SpaceContent from './SpaceContent.svelte'
|
import SpaceContent from './SpaceContent.svelte'
|
||||||
@ -78,6 +84,7 @@
|
|||||||
)
|
)
|
||||||
if (header !== undefined) {
|
if (header !== undefined) {
|
||||||
viewlet = updateActiveViewlet(viewlets, active)
|
viewlet = updateActiveViewlet(viewlets, active)
|
||||||
|
viewOptions = getViewOptions(viewlet, $viewOptionStore)
|
||||||
}
|
}
|
||||||
_class = attachTo
|
_class = attachTo
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user