SSR-1134 Assign null when given null or undefined value
This commit is contained in:
parent
d1ce437b91
commit
cf2aeb6f52
1 changed files with 1 additions and 1 deletions
|
|
@ -1536,7 +1536,7 @@ export const useMainStore = defineStore({
|
||||||
|
|
||||||
updateSupportingItems(partsData) {
|
updateSupportingItems(partsData) {
|
||||||
if (partsData == null) {
|
if (partsData == null) {
|
||||||
this.order.lineItems.supportingItems = partsData;
|
this.order.lineItems.supportingItems = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue