Skip to content

Commit

Permalink
Reverted: unwanted getter for getting barcode identification value (#412
Browse files Browse the repository at this point in the history
)
  • Loading branch information
amansinghbais committed Nov 5, 2024
1 parent 71e58e1 commit 67013c9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/store/modules/util/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ const getters: GetterTree <UtilState, RootState> = {
},
getBarcodeIdentificationPref(state) {
return state.barcodeIdentificationPref
},
getBarcodeIdentificationValue(state, getters, rootState, rootGetters) {
const productIdentificationStore = useProductIdentificationStore();
const productIdentificationPref = computed(() => productIdentificationStore.getProductIdentificationPref) as any;
return productIdentificationPref.value[state.barcodeIdentificationPref]
}
}
export default getters;

0 comments on commit 67013c9

Please sign in to comment.