share: disable link for locals
Signed-off-by: Varun Patil <radialapps@gmail.com>pulsejet/aio-hw-docs
parent
33571bf661
commit
c7ea8ec7bf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue