mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Do not hide "free" if there is an original price
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user