adminizer 4.3.0-build.117 → 4.3.0-build.118

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.
Files changed (2) hide show
  1. package/lib/Adminizer.js +8 -2
  2. package/package.json +1 -1
package/lib/Adminizer.js CHANGED
@@ -208,8 +208,14 @@ export class Adminizer {
208
208
  }
209
209
  }
210
210
  await bindDashboardWidgets(this);
211
- if (!this.config.navigation?.bindAfter)
212
- bindNavigation(this);
211
+ if (this.config.navigation?.bindAfter) {
212
+ this._emitter.on('isSeeding', async () => {
213
+ await bindNavigation(this);
214
+ });
215
+ }
216
+ else {
217
+ await bindNavigation(this);
218
+ }
213
219
  bindMediaManager(this);
214
220
  await bindAccessRights(this);
215
221
  if (I18n.appendLocale) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.3.0-build.117",
4
+ "version": "4.3.0-build.118",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",