@@ -158,6 +158,7 @@ class Render {
|
||||
items,
|
||||
openItem,
|
||||
title: this.title(share),
|
||||
description: getConfigOption('ipp.showGalleryDescription', false) ? this.description(share) : '',
|
||||
publicBaseUrl,
|
||||
path: '/share/' + share.key,
|
||||
showDownload: canDownload(share),
|
||||
@@ -173,6 +174,13 @@ class Render {
|
||||
return share.description || share?.album?.albumName || 'Gallery'
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Immich shared link description
|
||||
*/
|
||||
description (share: SharedLink) {
|
||||
return share?.album?.description || ''
|
||||
}
|
||||
|
||||
/**
|
||||
* Download all assets as a zip file
|
||||
*/
|
||||
|
||||
@@ -49,6 +49,7 @@ export interface SharedLink {
|
||||
id: string;
|
||||
albumName?: string;
|
||||
order?: string;
|
||||
description?: string;
|
||||
}
|
||||
expiresAt: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user