Skip to content

Commit

Permalink
fix(Price add): fix barcode type prefill feature (typo). ref #1108
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Dec 10, 2024
1 parent faf86ce commit 8af89a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BarcodeScannerDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export default {
}
},
mounted() {
if (this.preFillValue) {
this.barcodeManualForm.barcode = this.preFillValue
if (this.barcodeManualInputPrefillValue) {
this.barcodeManualForm.barcode = this.barcodeManualInputPrefillValue
}
// init tab
if (this.appStore.user.barcode_scanner_default_mode === constants.PRODUCT_SELECTOR_DISPLAY_LIST[1].key) {
Expand Down

0 comments on commit 8af89a7

Please sign in to comment.