Skip to content

Commit

Permalink
Improved: loader message and backdrop dismiss config (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Oct 11, 2024
1 parent 26e0d38 commit 854bb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/shipment/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const actions: ActionTree<ShipmentState, RootState> = {
return responses;
},
async receiveShipment ({ dispatch }, payload) {
emitter.emit("presentLoader");
emitter.emit("presentLoader", {message: 'Receiving inprogress.', backdropDismiss: false});
const receiveResponses = await dispatch("receiveShipmentItem", payload);
if(!receiveResponses.includes(false)) {
try {
Expand Down

0 comments on commit 854bb0a

Please sign in to comment.