qdadm 1.1.2 → 1.1.3

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": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Vue 3 framework for admin dashboards with PrimeVue",
5
5
  "author": "quazardous",
6
6
  "license": "MIT",
@@ -46,6 +46,7 @@ interface UserData {
46
46
  }
47
47
 
48
48
  const features = inject<FeaturesConfig>('qdadmFeatures', { poweredBy: true, breadcrumb: true })
49
+ const homeRoute = inject<string>('qdadmHomeRoute', 'home')
49
50
 
50
51
  // Guard dialog from shared store (registered by useBareForm/useForm when a form is active)
51
52
  const guardDialog = useGuardDialog()
@@ -218,7 +219,7 @@ function handleHeaderClick(): void {
218
219
  if (isMobile()) {
219
220
  closeSidebar()
220
221
  } else {
221
- router.push({ name: 'home' })
222
+ router.push({ name: homeRoute })
222
223
  }
223
224
  }
224
225