1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(web): minor issues (#3499)

* Replace isArchived with isFavorite

* Remove excess AssetSelectControlBar
This commit is contained in:
Sergey Kondrikov 2023-08-01 18:52:50 +03:00 committed by GitHub
parent e53625b067
commit 690b87e375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -166,7 +166,7 @@
message: asset.isFavorite ? `Added to favorites` : `Removed from favorites`, message: asset.isFavorite ? `Added to favorites` : `Removed from favorites`,
}); });
} catch (error) { } 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`);
} }
}; };

View file

@ -28,9 +28,6 @@
<main class="grid h-screen bg-immich-bg pt-18 dark:bg-immich-dark-bg"> <main class="grid h-screen bg-immich-bg pt-18 dark:bg-immich-dark-bg">
{#if $isMultiSelectState} {#if $isMultiSelectState}
<AssetSelectControlBar assets={$selectedAssets} clearSelect={assetInteractionStore.clearMultiselect}>
<DownloadAction />
</AssetSelectControlBar>
<AssetSelectControlBar assets={$selectedAssets} clearSelect={assetInteractionStore.clearMultiselect}> <AssetSelectControlBar assets={$selectedAssets} clearSelect={assetInteractionStore.clearMultiselect}>
<CreateSharedLink /> <CreateSharedLink />
<AssetSelectContextMenu icon={Plus} title="Add"> <AssetSelectContextMenu icon={Plus} title="Add">