mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(server): make owner as required response for AlbumResponseDto (#1579)
This commit is contained in:
parent
fb4969d5d1
commit
43fd7737f1
8 changed files with 41 additions and 31 deletions
2
web/src/api/open-api/api.ts
generated
2
web/src/api/open-api/api.ts
generated
|
|
@ -281,7 +281,7 @@ export interface AlbumResponseDto {
|
|||
* @type {UserResponseDto}
|
||||
* @memberof AlbumResponseDto
|
||||
*/
|
||||
'owner'?: UserResponseDto;
|
||||
'owner': UserResponseDto;
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
let calculateVideoDurationIntervalHandler: NodeJS.Timer;
|
||||
let videoProgress = '00:00';
|
||||
let videoUrl: string;
|
||||
$: isPublicShared = publicSharedKey !== '';
|
||||
|
||||
const loadVideoData = async (isLivePhoto: boolean) => {
|
||||
isThumbnailVideoPlaying = false;
|
||||
|
|
@ -183,7 +184,7 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
{#if asset.isFavorite}
|
||||
{#if asset.isFavorite && !isPublicShared}
|
||||
<div class="w-full absolute bottom-2 left-2 z-10">
|
||||
<Star size="24" color={'white'} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue