@oondemand/oon-core-front 0.4.13 → 0.4.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.
package/dist/index.js CHANGED
@@ -5160,13 +5160,13 @@ function resolveRegistry(config) {
5160
5160
  const navMode = config.ui?.navigation?.mode ?? "auto";
5161
5161
  const includeAuto = navMode === "auto" || navMode === "mixed";
5162
5162
  const includeManual = navMode === "manual" || navMode === "mixed";
5163
- if (includeAuto) {
5164
- for (const view of config.ui?.views ?? []) {
5165
- pushRoute(viewToRoute(view, componentRegistry));
5166
- pushMenu(viewToMenu(view));
5167
- }
5168
- for (const page of config.ui?.pages ?? []) {
5169
- pushRoute(pageToRoute(page, componentRegistry));
5163
+ for (const view of config.ui?.views ?? []) {
5164
+ pushRoute(viewToRoute(view, componentRegistry));
5165
+ if (includeAuto) pushMenu(viewToMenu(view));
5166
+ }
5167
+ for (const page of config.ui?.pages ?? []) {
5168
+ pushRoute(pageToRoute(page, componentRegistry));
5169
+ if (includeAuto) {
5170
5170
  const item = pageToMenu(page);
5171
5171
  if (item) pushMenu(item);
5172
5172
  }
@@ -5291,7 +5291,7 @@ function Sidebar({ app, menu, registry }) {
5291
5291
  // package.json
5292
5292
  var package_default = {
5293
5293
  name: "@oondemand/oon-core-front",
5294
- version: "0.4.13",
5294
+ version: "0.4.14",
5295
5295
  repository: {
5296
5296
  type: "git",
5297
5297
  url: "git+https://github.com/oondemand/oon-platform.git",