mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: correctly show owner in album options modal (#25618)
This commit is contained in:
parent
2d09853c3d
commit
9be01e79f7
1 changed files with 2 additions and 3 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
handleUpdateAlbum,
|
handleUpdateAlbum,
|
||||||
handleUpdateUserAlbumRole,
|
handleUpdateUserAlbumRole,
|
||||||
} from '$lib/services/album.service';
|
} from '$lib/services/album.service';
|
||||||
import { user } from '$lib/stores/user.store';
|
|
||||||
import {
|
import {
|
||||||
AlbumUserRole,
|
AlbumUserRole,
|
||||||
AssetOrder,
|
AssetOrder,
|
||||||
|
|
@ -108,9 +107,9 @@
|
||||||
<div class="ps-2">
|
<div class="ps-2">
|
||||||
<div class="flex items-center gap-2 mb-2">
|
<div class="flex items-center gap-2 mb-2">
|
||||||
<div>
|
<div>
|
||||||
<UserAvatar user={$user} size="md" />
|
<UserAvatar user={album.owner} size="md" />
|
||||||
</div>
|
</div>
|
||||||
<Text class="w-full" size="small">{$user.name}</Text>
|
<Text class="w-full" size="small">{album.owner.name}</Text>
|
||||||
<Field disabled class="w-32 shrink-0">
|
<Field disabled class="w-32 shrink-0">
|
||||||
<Select options={[{ label: $t('owner'), value: 'owner' }]} value="owner" />
|
<Select options={[{ label: $t('owner'), value: 'owner' }]} value="owner" />
|
||||||
</Field>
|
</Field>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue