diff --git a/src/components/AddProductModal.vue b/src/components/AddProductModal.vue index ef4c5735..a169dc4a 100644 --- a/src/components/AddProductModal.vue +++ b/src/components/AddProductModal.vue @@ -19,7 +19,7 @@ -

{{ getProductIdentificationValue(productStoreSettings["productIdentificationPref"].primaryId, product) }}

+

{{ getProductIdentificationValue(productStoreSettings["productIdentificationPref"].primaryId, product) || getProduct(product.productId).productName }}

{{ getProductIdentificationValue(productStoreSettings["productIdentificationPref"].secondaryId, product) }}

@@ -73,6 +73,7 @@ const props = defineProps(["cycleCount"]) const products = computed(() => store.getters["product/getProducts"]) const isScrollable = computed(() => store.getters["product/isScrollable"]) const productStoreSettings = computed(() => store.getters["user/getProductStoreSettings"]) +const getProduct = computed(() => (id: any) => store.getters["product/getProduct"](id)) let queryString = ref('') const isSearching = ref(false); diff --git a/src/components/AssignedCountPopover.vue b/src/components/AssignedCountPopover.vue index 7080012e..49403f6c 100644 --- a/src/components/AssignedCountPopover.vue +++ b/src/components/AssignedCountPopover.vue @@ -1,7 +1,7 @@