Skip to content

Commit

Permalink
Show JPEG/PNG images on map when role overview is set, regardless of …
Browse files Browse the repository at this point in the history
…whether thumbnail is set or not.
  • Loading branch information
m-mohr committed Feb 22, 2024
1 parent 30f751f commit ec6c409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HrefActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {
},
isThumbnail() {
if (this.isAsset) {
return Array.isArray(this.data.roles) && this.data.roles.includes('thumbnail');
return Array.isArray(this.data.roles) && this.data.roles.includes('thumbnail') && !this.data.roles.includes('overview');
}
else {
return this.data.rel === 'preview' && Utils.canBrowserDisplayImage(this.data);
Expand Down Expand Up @@ -199,4 +199,4 @@ export default {
}
}
};
</script>
</script>

0 comments on commit ec6c409

Please sign in to comment.