From 690b87e375dccd6903dc780d827a445eb59acd16 Mon Sep 17 00:00:00 2001 From: Sergey Kondrikov Date: Tue, 1 Aug 2023 18:52:50 +0300 Subject: [PATCH] fix(web): minor issues (#3499) * Replace isArchived with isFavorite * Remove excess AssetSelectControlBar --- web/src/lib/components/asset-viewer/asset-viewer.svelte | 2 +- web/src/routes/(user)/partners/[userId]/+page.svelte | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 7bf523630e..094ed09269 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -166,7 +166,7 @@ message: asset.isFavorite ? `Added to favorites` : `Removed from favorites`, }); } catch (error) { - handleError(error, `Unable to ${asset.isArchived ? `add asset to` : `remove asset from`} favorites`); + handleError(error, `Unable to ${asset.isFavorite ? `add asset to` : `remove asset from`} favorites`); } }; diff --git a/web/src/routes/(user)/partners/[userId]/+page.svelte b/web/src/routes/(user)/partners/[userId]/+page.svelte index 4b9b9f1995..893d4dffd0 100644 --- a/web/src/routes/(user)/partners/[userId]/+page.svelte +++ b/web/src/routes/(user)/partners/[userId]/+page.svelte @@ -28,9 +28,6 @@
{#if $isMultiSelectState} - - -