diff --git a/packages/ui/src/components/SelectPopup.svelte b/packages/ui/src/components/SelectPopup.svelte
index e97f7e9918..3011848ebd 100644
--- a/packages/ui/src/components/SelectPopup.svelte
+++ b/packages/ui/src/components/SelectPopup.svelte
@@ -26,6 +26,7 @@
interface ValueType {
id: number | string
icon?: Asset
+ iconColor?: string
label?: IntlString
text?: string
isSelected?: boolean
@@ -118,7 +119,7 @@
{/if}
{#if item.icon}
-
+
{/if}
diff --git a/plugins/tracker-assets/assets/icons.svg b/plugins/tracker-assets/assets/icons.svg
index ffb94f33fa..5ce87ed628 100644
--- a/plugins/tracker-assets/assets/icons.svg
+++ b/plugins/tracker-assets/assets/icons.svg
@@ -52,21 +52,21 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/plugins/tracker-resources/src/components/SelectIssuePopup.svelte b/plugins/tracker-resources/src/components/SelectIssuePopup.svelte
index bdbfd396a9..0811a67bc1 100644
--- a/plugins/tracker-resources/src/components/SelectIssuePopup.svelte
+++ b/plugins/tracker-resources/src/components/SelectIssuePopup.svelte
@@ -3,9 +3,9 @@
import { IntlString } from '@anticrm/platform'
import { ObjectPopup } from '@anticrm/presentation'
import { Issue } from '@anticrm/tracker'
- import { Icon } from '@anticrm/ui'
import { getIssueId } from '../issues'
import tracker from '../plugin'
+ import IssueStatusIcon from './issues/IssueStatusIcon.svelte'
export let docQuery: DocumentQuery | undefined = undefined
export let ignoreObjects: Ref[] | undefined = undefined
@@ -34,13 +34,14 @@
on:close
>
- {@const { icon } = issue.$lookup?.status.$lookup?.category ?? {}}
{@const issueId = getIssueId(issue.$lookup.space, issue)}
- {#if issueId && icon}
+ {#if issueId}
-
-
-
+ {#if issue?.$lookup?.status}
+
+
+
+ {/if}
{issueId}
{issue.title}
diff --git a/plugins/tracker-resources/src/components/SetParentIssueActionPopup.svelte b/plugins/tracker-resources/src/components/SetParentIssueActionPopup.svelte
index 44899bcb81..0e96819db1 100644
--- a/plugins/tracker-resources/src/components/SetParentIssueActionPopup.svelte
+++ b/plugins/tracker-resources/src/components/SetParentIssueActionPopup.svelte
@@ -15,11 +15,11 @@
- {@const { icon } = statusCategoryById?.get(issue.$lookup?.status.category) ?? {}}
{@const issueId = getIssueId(issue.$lookup.space, issue)}
- {#if issueId && icon}
+ {#if issueId}
-
-
-
+ {#if issue?.$lookup?.status}
+
+
+
+ {/if}
{issueId}
{issue.title}
diff --git a/plugins/tracker-resources/src/components/issues/Board.svelte b/plugins/tracker-resources/src/components/issues/Board.svelte
index 407bf1237e..22bd185a19 100644
--- a/plugins/tracker-resources/src/components/issues/Board.svelte
+++ b/plugins/tracker-resources/src/components/issues/Board.svelte
@@ -18,7 +18,7 @@
import { Kanban, TypeState } from '@anticrm/kanban'
import { createQuery } from '@anticrm/presentation'
import type { Issue, IssueStatus, Team } from '@anticrm/tracker'
- import { Button, Icon, IconAdd, showPopup, showPanel, Component } from '@anticrm/ui'
+ import { Button, Icon, IconAdd, showPopup, showPanel, Component, getPlatformColor } from '@anticrm/ui'
import { focusStore, ListSelectionProvider, SelectDirection, selectionStore } from '@anticrm/view-resources'
import ActionContext from '@anticrm/view-resources/src/components/ActionContext.svelte'
import Menu from '@anticrm/view-resources/src/components/Menu.svelte'
@@ -110,7 +110,6 @@