From 6bec327f617b3d574cdfd32daae1172db98de204 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Thu, 30 May 2024 10:22:45 +0500 Subject: [PATCH] UBERF-7105: Use status colour when projectState is undefined (#5697) Signed-off-by: Vyacheslav Tumanov --- .../components/state/StatePresenter.svelte | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/plugins/task-resources/src/components/state/StatePresenter.svelte b/plugins/task-resources/src/components/state/StatePresenter.svelte index ebca230789..bb2ac2acda 100644 --- a/plugins/task-resources/src/components/state/StatePresenter.svelte +++ b/plugins/task-resources/src/components/state/StatePresenter.svelte @@ -135,18 +135,22 @@ {#if kind === 'table-attrs'} @@ -175,18 +179,22 @@ title={shouldShowTooltip ? value.name : undefined} > {#if icon != null} - + {:else if category?._id === task.statusCategory.Active} {:else} {/if}