@tilde-nlp/ngx-common 8.1.13 → 8.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7911,9 +7911,9 @@ class CustomTitleStrategyService extends TitleStrategy {
7911
7911
  this.subscription = this.#translateService.stream(translationKeys, { appName: this.appName }).subscribe((translations) => {
7912
7912
  let translatedTitle = `${translations[this.owner]} ${translations[this.appName]}`;
7913
7913
  if (title && translations[title]) {
7914
- translatedTitle = this.#config.isPageTitleFirst
7915
- ? `${translatedTitle} | ${translations[title]}`
7916
- : `${translations[title]} | ${translatedTitle}`;
7914
+ translatedTitle = this.#config.isPageTitleFirst ?? false
7915
+ ? `${translations[title]} | ${translatedTitle}`
7916
+ : `${translatedTitle} | ${translations[title]}`;
7917
7917
  }
7918
7918
  this.title.setTitle(translatedTitle);
7919
7919
  });