@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
|
@@ -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 =
|
|
413
|
-
|
|
414
|
-
|
|
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:
|
|
418
|
+
run: newValue || void 0
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
}
|