mirror of
https://github.com/opensupports/opensupports.git
synced 2025-04-08 18:35:06 +02:00
Correct the message path.
This commit is contained in:
parent
57098c661e
commit
954fc27c54
@ -34,7 +34,7 @@ class DashboardCreateTicketPage extends React.Component {
|
||||
|
||||
onCreateTicketSuccess(result, email, message) {
|
||||
if((this.props.location.pathname !== '/create-ticket')) {
|
||||
history.push('/dashboard' + '?message=' + message);
|
||||
history.push(`/dashboard?message=${message}`);
|
||||
} else {
|
||||
setTimeout(() => {history.push('/check-ticket/' + result.data.ticketNumber + '/' + email)}, 1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user