quasar-ui-danx 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -391,10 +391,12 @@ export function useListControls(name: string, options: ListControlsOptions): Act
391
391
  // Setup Vue Router handling
392
392
  vueRoute = useRoute();
393
393
  vueRouter = useRouter();
394
+
395
+ console.log("init listControl", name, options, "vueRoute", vueRoute);
394
396
  /**
395
397
  * Watch the id params in the route and set the active item to the item with the given id.
396
398
  */
397
- if (options.routes.details) {
399
+ if (options.routes.details && vueRoute) {
398
400
  const { params, meta } = vueRoute;
399
401
 
400
402
  const controlRouteName = vueRoute.name;