@nethserver/ns8-ui-lib 0.1.18 → 0.1.20

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.
@@ -62,7 +62,6 @@ import Link20 from '@carbon/icons-vue/es/link/20';
62
62
  import Link32 from '@carbon/icons-vue/es/link/32';
63
63
  import WarningAlt32 from '@carbon/icons-vue/es/warning--alt/32';
64
64
  import WarningAlt20 from '@carbon/icons-vue/es/warning--alt/20';
65
- import WarningAlt16 from '@carbon/icons-vue/es/warning--alt/16';
66
65
  import Tools20 from '@carbon/icons-vue/es/tools/20';
67
66
  import Tools32 from '@carbon/icons-vue/es/tools/32';
68
67
  import Network_220 from '@carbon/icons-vue/es/network--2/20';
@@ -8734,12 +8733,8 @@ var IconService = {
8734
8733
  Link20,
8735
8734
  // URLs and external domain providers
8736
8735
  Link32,
8737
- WarningAlt16,
8738
8736
  WarningAlt20,
8739
8737
  WarningAlt32,
8740
- WarningAltFilled16: WarningAlt16,
8741
- WarningAltFilled20: WarningAlt20,
8742
- WarningAltFilled32: WarningAlt32,
8743
8738
  Tools20,
8744
8739
  Tools32,
8745
8740
  Network_220,
@@ -24239,10 +24234,15 @@ var pageTitle = {
24239
24234
  name: "PageTitleService",
24240
24235
 
24241
24236
  created() {
24242
- const pageTitle = getPageTitle(this);
24237
+ let pageTitle = getPageTitle(this);
24243
24238
 
24244
24239
  if (pageTitle) {
24245
- // window.document would be ok for core, but with window.parent.document we support external apps too (window.parent == window, if it's the root window)
24240
+ if (pageTitle.includes(".title")) {
24241
+ // fallback title: i18n has not been loaded yet
24242
+ pageTitle = window.parent.CONFIG.PRODUCT_NAME;
24243
+ } // window.document would be ok for core, but with window.parent.document we support external apps too (window.parent == window, if it's the root window)
24244
+
24245
+
24246
24246
  window.parent.document.title = pageTitle;
24247
24247
  }
24248
24248
  }