mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
for secrets manager show SM title (#5780)
* for secrets manager show SM title * removing convoluted i18 conversion * removing unused messages, and updating navbar to use the proper messages
This commit is contained in:
@@ -23,7 +23,12 @@ export class RouterService {
|
||||
.subscribe((event: NavigationEnd) => {
|
||||
this.currentUrl = event.url;
|
||||
|
||||
let title = i18nService.t("pageTitle", "Bitwarden");
|
||||
let title = i18nService.t("bitWebVault");
|
||||
|
||||
if (this.currentUrl.includes("/sm/")) {
|
||||
title = i18nService.t("bitSecretsManager");
|
||||
}
|
||||
|
||||
let child = this.activatedRoute.firstChild;
|
||||
while (child.firstChild) {
|
||||
child = child.firstChild;
|
||||
|
||||
Reference in New Issue
Block a user