mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-21 15:59:15 +00:00
UBER-880 Fix project starring (#3711)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
d47ef1b74d
commit
c4aceb79fa
@ -65,6 +65,7 @@
|
|||||||
{#if specials}
|
{#if specials}
|
||||||
<TreeNode
|
<TreeNode
|
||||||
{collapsed}
|
{collapsed}
|
||||||
|
_id={space?._id}
|
||||||
icon={space?.icon === tracker.component.IconWithEmoji ? IconWithEmoji : space?.icon ?? model.icon}
|
icon={space?.icon === tracker.component.IconWithEmoji ? IconWithEmoji : space?.icon ?? model.icon}
|
||||||
iconProps={space?.icon === tracker.component.IconWithEmoji
|
iconProps={space?.icon === tracker.component.IconWithEmoji
|
||||||
? { icon: space.color }
|
? { icon: space.color }
|
||||||
|
@ -13,10 +13,12 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { Doc, Ref } from '@hcengineering/core'
|
||||||
import type { Asset, IntlString } from '@hcengineering/platform'
|
import type { Asset, IntlString } from '@hcengineering/platform'
|
||||||
import type { Action, AnySvelteComponent } from '@hcengineering/ui'
|
import type { Action, AnySvelteComponent } from '@hcengineering/ui'
|
||||||
import TreeElement from './TreeElement.svelte'
|
import TreeElement from './TreeElement.svelte'
|
||||||
|
|
||||||
|
export let _id: Ref<Doc> | undefined = undefined
|
||||||
export let title: string | undefined = undefined
|
export let title: string | undefined = undefined
|
||||||
export let label: IntlString | undefined = undefined
|
export let label: IntlString | undefined = undefined
|
||||||
export let icon: Asset | AnySvelteComponent | undefined = undefined
|
export let icon: Asset | AnySvelteComponent | undefined = undefined
|
||||||
@ -30,6 +32,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<TreeElement
|
<TreeElement
|
||||||
|
{_id}
|
||||||
{title}
|
{title}
|
||||||
{label}
|
{label}
|
||||||
{iconProps}
|
{iconProps}
|
||||||
|
Loading…
Reference in New Issue
Block a user