1
0
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:
cd-bitwarden
2023-07-26 20:53:09 -04:00
committed by GitHub
parent 090a5bcced
commit 0fc0e6226f
3 changed files with 13 additions and 12 deletions

View File

@@ -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;