mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): improve individual share ux (#17430)
This commit is contained in:
parent
7f116d8e98
commit
6ae24fbbd4
3 changed files with 69 additions and 36 deletions
|
|
@ -61,6 +61,7 @@
|
|||
preAction?: PreAction | undefined;
|
||||
onAction?: OnAction | undefined;
|
||||
reactions?: ActivityResponseDto[];
|
||||
showCloseButton?: boolean;
|
||||
onClose: (dto: { asset: AssetResponseDto }) => void;
|
||||
onNext: () => Promise<HasAsset>;
|
||||
onPrevious: () => Promise<HasAsset>;
|
||||
|
|
@ -79,6 +80,7 @@
|
|||
preAction = undefined,
|
||||
onAction = undefined,
|
||||
reactions = $bindable([]),
|
||||
showCloseButton,
|
||||
onClose,
|
||||
onNext,
|
||||
onPrevious,
|
||||
|
|
@ -431,6 +433,7 @@
|
|||
{album}
|
||||
{person}
|
||||
{stack}
|
||||
{showCloseButton}
|
||||
showDetailButton={enableDetailPanel}
|
||||
showSlideshow={true}
|
||||
onZoomImage={zoomToggle}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue