Skip to content

Commit

Permalink
fix test (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek authored May 4, 2020
1 parent 089037c commit 3d4eab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ export function getConfig(key, defaultValue) {
}

export function getLocale() {
const defaultLanguage = getConfig('default_language');
const defaultLanguage = getConfig('default_language', 'en');
const locale = get(window, 'locale', defaultLanguage);

return locale;
Expand Down

0 comments on commit 3d4eab5

Please sign in to comment.