Skip to content

Commit

Permalink
Merge pull request IsThereAnyDeal#1839 from przemo20/patch-7
Browse files Browse the repository at this point in the history
Fix voucher and DRM texts displayed next to “Current best:” on app pages
  • Loading branch information
tfedor authored Mar 11, 2024
2 parents ac404ee + 6da8258 commit 3797bbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/Content/Modules/Prices/PriceOverview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@
<!-- TODO i got rid of "with voucher" string, because replacing html
into translation is no good: pricingStr.with_voucher
figure out a better way -->
<span class="itad-pricing__voucher">{data.current.voucher}</span>)}
<span class="itad-pricing__voucher">{data.current.voucher}</span>
{/if}

{@html pricingStr.store.replace("__store__", HTML.escape(data.current.shop.name))}
{#if currentDrms.length > 0}
<span class="itad-pricing__drm">({currentDrms.join(", ")})</span>
}
{/if}
</a>
{/if}
Expand Down

0 comments on commit 3797bbc

Please sign in to comment.