From e6f721263b69813fe4136c9a1ba24fb947cbf31b Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Mon, 20 May 2024 12:01:16 +0500 Subject: [PATCH 1/2] fix colours for statuses Signed-off-by: Vyacheslav Tumanov --- .../presentation/src/components/SearchResult.svelte | 13 +++++++++---- .../src/components/Activity.svelte | 1 + .../ActivityMessagePresenter.svelte | 1 + .../activity-message/ActivityMessagePreview.svelte | 6 ++++-- .../DocUpdateMessageAttributes.svelte | 5 ++++- .../DocUpdateMessagePresenter.svelte | 6 ++++-- .../DocUpdateMessagePreview.svelte | 11 +++++++++-- .../attributes/ChangeAttributesTemplate.svelte | 10 +++++++--- .../attributes/SetAttributesPresenter.svelte | 4 +++- .../src/components/DocNotifyContextCard.svelte | 1 + .../inbox/ActivityInboxNotificationPresenter.svelte | 5 +++-- .../inbox/InboxNotificationPresenter.svelte | 5 +++-- 12 files changed, 49 insertions(+), 19 deletions(-) diff --git a/packages/presentation/src/components/SearchResult.svelte b/packages/presentation/src/components/SearchResult.svelte index 21c7c78b95..d832e5c07c 100644 --- a/packages/presentation/src/components/SearchResult.svelte +++ b/packages/presentation/src/components/SearchResult.svelte @@ -30,12 +30,14 @@ {/if} {#if iconComponent} - {#await getResource(iconComponent) then component} - - {/await} +
+ {#await getResource(iconComponent) then component} + + {/await} +
{/if} - + {#if value.shortTitle !== undefined} {value.shortTitle} {/if} @@ -44,6 +46,9 @@