mirror of
https://github.com/immich-app/immich.git
synced 2026-02-11 11:27:56 +03:00
format
This commit is contained in:
@@ -31,12 +31,11 @@
|
||||
import { navigate } from '$lib/utils/navigation';
|
||||
import { getTimes, toTimelineAsset, type ScrubberListener, type TimelineYearMonth } from '$lib/utils/timeline-util';
|
||||
import {
|
||||
AlbumUserRole,
|
||||
AlbumUserRole,
|
||||
AssetVisibility,
|
||||
getAssetInfo,
|
||||
type AlbumResponseDto,
|
||||
type PersonResponseDto,
|
||||
type UserResponseDto,
|
||||
} from '@immich/sdk';
|
||||
import { modalManager } from '@immich/ui';
|
||||
import { DateTime } from 'luxon';
|
||||
@@ -96,7 +95,9 @@
|
||||
let { isViewing: showAssetViewer, asset: viewingAsset, preloadAssets, gridScrollTarget, mutex } = assetViewingStore;
|
||||
|
||||
const albumUsers = $derived(
|
||||
album?.shared && album.albumUsers.some(({ role }) => role === AlbumUserRole.Editor) ? [album.owner, ...album.albumUsers.map(({ user }) => user)] : [],
|
||||
album?.shared && album.albumUsers.some(({ role }) => role === AlbumUserRole.Editor)
|
||||
? [album.owner, ...album.albumUsers.map(({ user }) => user)]
|
||||
: [],
|
||||
);
|
||||
|
||||
let element: HTMLElement | undefined = $state();
|
||||
|
||||
Reference in New Issue
Block a user