Skip to content

Commit

Permalink
Update src/server_manager/web_app/ui_components/app-root.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Vinicius Fortuna <[email protected]>
  • Loading branch information
daniellacosse and fortuna authored Dec 13, 2023
1 parent 94fafd0 commit 783e4f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server_manager/web_app/ui_components/app-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,8 @@ export class AppRoot extends polymerElementWithLocalize {
}

hasTranslation(key: string) {
return this.localize(key) !== key;
const msg = this.localize(key);
return msg !== key && msg !== '';
}

showIntro() {
Expand Down

0 comments on commit 783e4f2

Please sign in to comment.