fix(UX): reduce duration of barcode scan toasts

default is 7 which is bit too much when you're scanning lots of items,
switched to 5 sec delay
This commit is contained in:
Ankush Menat 2022-03-27 18:18:16 +05:30 committed by Ankush Menat
parent 69ae2661d2
commit a270f12855

View File

@ -444,12 +444,12 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
frappe.show_alert({
message: __('Row #{0}: Qty increased by 1', [idx]),
indicator: 'green'
});
}, 5);
} else {
frappe.show_alert({
message: __('Row #{0}: Item added', [idx]),
indicator: 'green'
});
}, 5);
}
}