Simplifying 2

This commit is contained in:
Michaela Brydon 2024-02-29 15:06:39 -05:00
parent 9e346265cc
commit 7e9f7d83c0

View file

@ -140,16 +140,10 @@ export default {
return this.getCmsContent(this.widget.amountDue, widgetFields.TEXT_BLOCK_WIDGET.TEXT); return this.getCmsContent(this.widget.amountDue, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
}, },
deductibleLabel() { deductibleLabel() {
return this.getCmsContent( return this.getCmsContent(this.widget.deductible, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
this.widget.deductible,
widgetFields.TEXT_BLOCK_WIDGET.TEXT
);
}, },
basePriceLabel() { basePriceLabel() {
return this.getCmsContent( return this.getCmsContent(this.widget.basePrice, widgetFields.TEXT_BLOCK_WIDGET.TEXT);
this.widget.basePrice,
widgetFields.TEXT_BLOCK_WIDGET.TEXT
);
} }
}, },
watch: { watch: {