qdadm 0.52.1 → 0.52.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdadm",
3
- "version": "0.52.1",
3
+ "version": "0.52.2",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -250,8 +250,10 @@ export function useNavContext(options = {}) {
250
250
  active: isOnParent
251
251
  }]
252
252
 
253
- // Sibling routes
253
+ // Sibling routes - only include list routes (not create/edit/show)
254
+ // List routes are navigable tabs, while create/edit/show are accessed via the list
254
255
  const siblings = getSiblingRoutes(parentEntity, param)
256
+ .filter(sibling => sibling.meta?.layout === 'list')
255
257
  for (const sibling of siblings) {
256
258
  const sibManager = sibling.meta?.entity ? getManager(sibling.meta.entity) : null
257
259
  links.push({