qdadm 0.51.7 → 0.51.8

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.51.7",
3
+ "version": "0.51.8",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -1132,6 +1132,14 @@ export function useEntityItemFormPage(config = {}) {
1132
1132
  }
1133
1133
  })
1134
1134
 
1135
+ // Watch for route changes (e.g., create → edit navigation)
1136
+ // Vue reuses the component, so onMounted won't fire again
1137
+ watch(entityId, (newId, oldId) => {
1138
+ if (newId !== oldId && loadOnMount) {
1139
+ load()
1140
+ }
1141
+ })
1142
+
1135
1143
  // ============ FORMPAGE PROPS/EVENTS ============
1136
1144
 
1137
1145
  /**