Skip to content

Commit

Permalink
set default currency when creating new ticket type
Browse files Browse the repository at this point in the history
  • Loading branch information
santipalenque committed May 8, 2024
1 parent 8bf0953 commit e0670d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/ticket-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
() => {
Expand Down

0 comments on commit e0670d1

Please sign in to comment.