Skip to content

Commit

Permalink
Merge pull request #167 from adobecom/MWPW-164313-pricelist-download-csv
Browse files Browse the repository at this point in the history
MWPW-164313 - Pricelists are downloaded as .txt files instead of .csv
  • Loading branch information
Ben-Zahler authored Dec 16, 2024
2 parents 62164e0 + 48ba4a1 commit b8165e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edsdme/blocks/pricelist/PricelistBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const priceListKeyWords = {
DEFAULT: 'default',
},
};

export default class Pricelist extends PartnerCards {
static styles = [
PartnerCards.styles,
Expand Down Expand Up @@ -141,7 +142,7 @@ export default class Pricelist extends PartnerCards {
<sp-action-button
size="m"
href="${setDownloadParam(rowData.contentArea?.url)}"
download="${rowData.contentArea?.title}"
download="${rowData.contentArea?.filename}"
aria-label="${this.blockData.localizedText['{{download}}']}">
<sp-icon-download slot="icon"></sp-icon-download>
${this.blockData.localizedText['{{download}}']}
Expand Down

0 comments on commit b8165e6

Please sign in to comment.