Do not hide "free" if there is an original price

This commit is contained in:
Raphael Michel
2023-02-17 10:43:49 +01:00
parent 50f9cfd402
commit b58546c3c8
3 changed files with 5 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ Vue.component('pricebox', {
},
priceline: function () {
if (this.price.gross === "0.00") {
if (this.mandatory_priced_addons) {
if (this.mandatory_priced_addons && !this.original_price) {
return "\xA0"; // nbsp, because an empty string would cause the HTML element to collapse
}
return strings.free;