mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +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}
|
||||
<TreeNode
|
||||
{collapsed}
|
||||
_id={space?._id}
|
||||
icon={space?.icon === tracker.component.IconWithEmoji ? IconWithEmoji : space?.icon ?? model.icon}
|
||||
iconProps={space?.icon === tracker.component.IconWithEmoji
|
||||
? { icon: space.color }
|
||||
|
@ -13,10 +13,12 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { Doc, Ref } from '@hcengineering/core'
|
||||
import type { Asset, IntlString } from '@hcengineering/platform'
|
||||
import type { Action, AnySvelteComponent } from '@hcengineering/ui'
|
||||
import TreeElement from './TreeElement.svelte'
|
||||
|
||||
export let _id: Ref<Doc> | undefined = undefined
|
||||
export let title: string | undefined = undefined
|
||||
export let label: IntlString | undefined = undefined
|
||||
export let icon: Asset | AnySvelteComponent | undefined = undefined
|
||||
@ -30,6 +32,7 @@
|
||||
</script>
|
||||
|
||||
<TreeElement
|
||||
{_id}
|
||||
{title}
|
||||
{label}
|
||||
{iconProps}
|
||||
|
Loading…
Reference in New Issue
Block a user