@nvent-addon/app 0.5.11 → 0.5.12

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nventapp",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "configKey": "nventapp",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
@@ -409,13 +409,13 @@ const selectedFlow = computed(() => {
409
409
  const match = path.match(/\/flows\/([^/]+)/);
410
410
  return match && match[1] ? decodeURIComponent(match[1]) : null;
411
411
  });
412
- const selectedRunId = computed({
413
- get: () => route.query.run || "",
414
- set: (value) => {
412
+ const selectedRunId = ref(route.query.run || "");
413
+ watch(selectedRunId, (newValue) => {
414
+ if (newValue !== route.query.run) {
415
415
  router.replace({
416
416
  query: {
417
417
  ...route.query,
418
- run: value || void 0
418
+ run: newValue || void 0
419
419
  }
420
420
  });
421
421
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nvent-addon/app",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "nvent app module for Nuxt.js",
5
5
  "repository": "DevJoghurt/nvent",
6
6
  "license": "MIT",