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 98f7b5e6..aa8f2d68 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 @@ -157,8 +157,10 @@ class CreateTicketForm extends React.Component { } export default connect((store) => { + const { language, supportedLanguages } = store.config; + return { - language: store.config.language, + language: _.includes(supportedLanguages, language) ? language : supportedLanguages[0], allowAttachments: store.config['allow-attachments'] }; })(CreateTicketForm);