adminforth 1.1.90 → 1.1.91

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.
package/dist/index.js CHANGED
@@ -147,7 +147,7 @@ class AdminForth {
147
147
  else {
148
148
  this.baseUrlSlashed = this.config.baseUrl;
149
149
  }
150
- if (!((_b = this.config) === null || _b === void 0 ? void 0 : _b.customization.brandName)) {
150
+ if (((_b = this.config) === null || _b === void 0 ? void 0 : _b.customization.brandName) === undefined) {
151
151
  this.config.customization.brandName = 'AdminForth';
152
152
  }
153
153
  if (this.config.customization.brandLogo) {
package/index.ts CHANGED
@@ -187,7 +187,7 @@ class AdminForth implements AdminForthClass {
187
187
  } else {
188
188
  this.baseUrlSlashed = this.config.baseUrl;
189
189
  }
190
- if (!this.config?.customization.brandName) {
190
+ if (this.config?.customization.brandName === undefined) {
191
191
  this.config.customization.brandName = 'AdminForth';
192
192
  }
193
193
  if (this.config.customization.brandLogo) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.90",
3
+ "version": "1.1.91",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",