share: disable link for locals

Signed-off-by: Varun Patil <radialapps@gmail.com>
pulsejet/aio-hw-docs
Varun Patil 2023-11-14 01:02:32 -08:00
parent 33571bf661
commit c7ea8ec7bf
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default defineComponent({
}, },
canShareLink(): boolean { canShareLink(): boolean {
if (this.routeIsAlbums || !this.photos?.length) return false; if (this.routeIsAlbums || !this.photos?.length || this.hasLocal) return false;
// Check if all imageInfos are loaded (e.g. on viewer) // Check if all imageInfos are loaded (e.g. on viewer)
// Then check if all images can be shared // Then check if all images can be shared