diff --git a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html index 88b034fe..363e28cd 100644 --- a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html +++ b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html @@ -15,7 +15,7 @@
- Download
 
diff --git a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts index 51450837..f37eaaad 100644 --- a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts +++ b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts @@ -93,6 +93,10 @@ export class GalleryNavigatorComponent implements OnChanges { this.galleryService.setSorting(sorting); } + getDownloadZipLink(): string { + return Config.Client.urlBase + '/api/gallery/zip/' + this.getDirectoryPath(); + } + getDirectoryPath(): string { return Utils.concatUrls(this.directory.path, this.directory.name); }