mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
feat: add move to lock folder in folder view (#27384)
This commit is contained in:
parent
548dbe8ad6
commit
505a07a825
1 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
import DeleteAssets from '$lib/components/timeline/actions/DeleteAssetsAction.svelte';
|
||||
import DownloadAction from '$lib/components/timeline/actions/DownloadAction.svelte';
|
||||
import FavoriteAction from '$lib/components/timeline/actions/FavoriteAction.svelte';
|
||||
import SetVisibilityAction from '$lib/components/timeline/actions/SetVisibilityAction.svelte';
|
||||
import TagAction from '$lib/components/timeline/actions/TagAction.svelte';
|
||||
import AssetSelectControlBar from '$lib/components/timeline/AssetSelectControlBar.svelte';
|
||||
import SkipLink from '$lib/elements/SkipLink.svelte';
|
||||
|
|
@ -60,6 +61,10 @@
|
|||
await invalidateAll();
|
||||
};
|
||||
|
||||
const handleSetVisibility = () => {
|
||||
void triggerAssetUpdate();
|
||||
};
|
||||
|
||||
const handleSelectAllAssets = () => {
|
||||
if (!data.pathAssets) {
|
||||
return;
|
||||
|
|
@ -143,6 +148,7 @@
|
|||
<ChangeDescription menuItem />
|
||||
<ChangeLocation menuItem />
|
||||
<ArchiveAction menuItem unarchive={assetMultiSelectManager.isAllArchived} onArchive={triggerAssetUpdate} />
|
||||
<SetVisibilityAction menuItem onVisibilitySet={handleSetVisibility} />
|
||||
{#if $preferences.tags.enabled && assetMultiSelectManager.isAllUserOwned}
|
||||
<TagAction menuItem />
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue