fix: refs #8198 handle potential null values in itemBalances computation
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
f9c2d9e641
commit
91b0833460
|
@ -27,7 +27,7 @@ const user = state.getUser();
|
||||||
const today = Date.vnNew();
|
const today = Date.vnNew();
|
||||||
today.setHours(0, 0, 0, 0);
|
today.setHours(0, 0, 0, 0);
|
||||||
const warehousesOptions = ref([]);
|
const warehousesOptions = ref([]);
|
||||||
const itemBalances = computed(() => arrayDataItemBalances.store.data);
|
const itemBalances = computed(() => arrayDataItemBalances.store.data || []);
|
||||||
const where = computed(() => arrayDataItemBalances.store.filter.where || {});
|
const where = computed(() => arrayDataItemBalances.store.filter.where || {});
|
||||||
const showWhatsBeforeInventory = ref(false);
|
const showWhatsBeforeInventory = ref(false);
|
||||||
const inventoriedDate = ref(null);
|
const inventoriedDate = ref(null);
|
||||||
|
|
Loading…
Reference in New Issue