This commit is contained in:
Nikita Gopienko 2019-11-08 11:29:03 +03:00
commit b66970c03a
2 changed files with 3 additions and 3 deletions

View File

@ -60,9 +60,9 @@ class Customization extends React.Component {
isLoadedData: false, isLoadedData: false,
isLoading: false, isLoading: false,
timezones, timezones,
timezone: findSelectedItemByKey(timezones, portalTimeZoneId), timezone: findSelectedItemByKey(timezones, portalTimeZoneId || timezones[0]),
languages, languages,
language: findSelectedItemByKey(languages, portalLanguage), language: findSelectedItemByKey(languages, portalLanguage || languages[0]),
greetingTitle: greetingSettings, greetingTitle: greetingSettings,
isLoadingGreetingSave: false, isLoadingGreetingSave: false,
isLoadingGreetingRestore: false, isLoadingGreetingRestore: false,

View File

@ -23,7 +23,7 @@ class ConfirmRoute extends React.Component {
if (forUnauthorized && new Cookies().get(AUTH_KEY)) if (forUnauthorized && new Cookies().get(AUTH_KEY))
//TODO: Remove cookie getting after setup on server //TODO: Remove cookie getting after setup on server
return history.push(`/error=Access error`); return history.push(`/error=Access error. You should be unauthorized for performing this action`);
const { location, isAuthenticated } = this.props; const { location, isAuthenticated } = this.props;
const { search } = location; const { search } = location;