Skip to content

Commit

Permalink
console log
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-addison-h committed Jun 5, 2024
1 parent 7a3aa13 commit e78784b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/femr/ui/views/settings/index.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
.then(data => {
languageData = data;
let initialLanguage = @currentUser.getLanguageCode();
console.log(initialLanguage);
if (initialLanguage == null) {
initialLanguage = "en";
}
console.log(initialLanguage);
updateLanguage(initialLanguage);
document.getElementById('languageSelect').value = initialLanguage;
});
Expand Down

0 comments on commit e78784b

Please sign in to comment.