remove prop, update value

This commit is contained in:
Katie Kroell 2024-04-18 13:36:32 -04:00
parent 9af930654a
commit 5b361e40ec
2 changed files with 2 additions and 4 deletions

View file

@ -184,13 +184,12 @@ export default {
recyclingModalCmsWidgetName: String,
showDropdownHeader: Boolean,
isInitiallyExpanded: Boolean,
submittedOrder: Object,
selectedVaps: Array
submittedOrder: Object
},
data() {
return {
isExpanded: this.isInitiallyExpanded,
availableVaps: useMainStore().order.availableVaps,
availableVaps: this.submittedOrder ? this.submittedOrder.lineItems.vaps : useMainStore().order.availableVaps,
widget: {
amountDue: 'AmountDueTextWidget',
amountPaid: 'AmountPaidTextWidget',

View file

@ -53,7 +53,6 @@
:readOnly="true"
recyclingModalCmsWidgetName="RecycleModal"
servicePackageTitleWidgetName="ServicePackageTitle"
:selectedVaps="selectedVaps"
:submittedOrder="submittedOrder" />
</div>
<div