diff --git a/client/src/app/main/dashboard/dashboard-create-ticket/create-ticket-form.js b/client/src/app/main/dashboard/dashboard-create-ticket/create-ticket-form.js index 84af6c83..f23e7fbe 100644 --- a/client/src/app/main/dashboard/dashboard-create-ticket/create-ticket-form.js +++ b/client/src/app/main/dashboard/dashboard-create-ticket/create-ticket-form.js @@ -4,6 +4,8 @@ import { browserHistory } from 'react-router'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; +import store from 'app/store'; +import SessionActions from 'actions/session-actions'; import Header from 'core-components/header'; import Form from 'core-components/form'; @@ -101,6 +103,8 @@ class CreateTicketForm extends React.Component { message: 'success' }); + store.dispatch(SessionActions.getUserData()); + setTimeout(() => {browserHistory.push('/dashboard')}, 2000); } diff --git a/client/src/data/languages/en.js b/client/src/data/languages/en.js index 3690f9b1..940b4baf 100644 --- a/client/src/data/languages/en.js +++ b/client/src/data/languages/en.js @@ -15,7 +15,7 @@ export default { 'CREATE_TICKET': 'Create Ticket', 'CREATE_TICKET_DESCRIPTION': 'This is a form for creating tickets. Fill the form and send us your issues/doubts/suggestions. Our support system will answer it as soon as possible.', 'TICKET_LIST': 'Ticket List', - 'TICKET_LIST_DESCRIPTION': 'Here you can find a list of all tickets you have sent to our support team. Notice that the highlighted ones have new unread messages.', + 'TICKET_LIST_DESCRIPTION': 'Here you can find a list of all tickets you have sent to our support team.', //ERRORS 'EMAIL_NOT_EXIST': 'Email does not exist',