Show download button on public collection pages regardless of collection access (#2442)
Reported here https://discord.com/channels/895426029194207262/1011678975636013066/1345095899008860224 Public-facing collections (whether public or unlisted) should have the download button visible if "show download button" is enabled.
This commit is contained in:
parent
cb52da66dc
commit
53b531ce3e
@ -97,9 +97,7 @@ export class ShareCollection extends BtrixElement {
|
|||||||
</sl-icon-button>
|
</sl-icon-button>
|
||||||
</sl-tooltip>
|
</sl-tooltip>
|
||||||
${when(this.orgSlug && this.collection, (collection) =>
|
${when(this.orgSlug && this.collection, (collection) =>
|
||||||
this.context === "public" &&
|
this.context === "public" && collection.allowPublicDownload
|
||||||
collection.access === CollectionAccess.Public &&
|
|
||||||
collection.allowPublicDownload
|
|
||||||
? html`
|
? html`
|
||||||
<sl-tooltip
|
<sl-tooltip
|
||||||
content=${msg("Download Collection: ") +
|
content=${msg("Download Collection: ") +
|
||||||
|
Loading…
Reference in New Issue
Block a user