gant-core 0.1.11 → 0.1.13
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/lib/cli/index.js +2 -5
- package/lib/cli/index.js.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -6179,10 +6179,11 @@ const getRoutes = (routesMaps) => {
|
|
|
6179
6179
|
if (has(otherRoutes, id))
|
|
6180
6180
|
return {
|
|
6181
6181
|
...restRoute,
|
|
6182
|
+
id,
|
|
6182
6183
|
children: mapRoutes(otherRoutes[id], itemPath),
|
|
6183
6184
|
path: itemPath,
|
|
6184
6185
|
};
|
|
6185
|
-
return { ...restRoute, path: itemPath };
|
|
6186
|
+
return { ...restRoute, path: itemPath, id };
|
|
6186
6187
|
});
|
|
6187
6188
|
};
|
|
6188
6189
|
return mapRoutes(root);
|