feat: replace our home-grown gantt implementation with ganttastic #2180

Merged
konrad merged 78 commits from feature/ganttastic into main 2022-10-27 16:03:27 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b4f88bd4a6 - Show all commits

View File

@ -69,7 +69,7 @@ export function getCurrentLanguage(): SupportedLocale {
return savedLanguage
}
const browserLanguage = navigator.language || navigator.userLanguage
const browserLanguage = navigator.language
const language: SupportedLocale | undefined = Object.keys(SUPPORTED_LOCALES).find(langKey => {
return langKey === browserLanguage || langKey.startsWith(browserLanguage + '-')