From e0670d1fafd5bea8ea63576d704d3115d903886f Mon Sep 17 00:00:00 2001 From: Santiago Palenque Date: Wed, 8 May 2024 14:24:45 -0300 Subject: [PATCH] set default currency when creating new ticket type --- src/actions/ticket-actions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions/ticket-actions.js b/src/actions/ticket-actions.js index 8840afa93..0179683e7 100644 --- a/src/actions/ticket-actions.js +++ b/src/actions/ticket-actions.js @@ -822,6 +822,7 @@ export const saveTicketType = (entity) => async (dispatch, getState) => { entity )(params)(dispatch) .then((payload) => { + dispatch(createAction(TICKET_TYPES_CURRENCY_UPDATED)({currency: payload.response.currency})) dispatch(showMessage( success_message, () => {