@nvent-addon/app 0.5.11 → 0.5.13

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.13",
4
4
  "configKey": "nventapp",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
@@ -409,21 +409,11 @@ 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) => {
415
- router.replace({
416
- query: {
417
- ...route.query,
418
- run: value || void 0
419
- }
420
- });
421
- }
422
- });
423
412
  const goBack = () => {
424
413
  componentRouter.push("/flows");
425
414
  };
426
- const mainTab = ref(route.query.run ? "timeline" : "diagram");
415
+ const selectedRunId = ref("");
416
+ const mainTab = ref("diagram");
427
417
  const mainTabs = computed(() => [
428
418
  { label: "Diagram", value: "diagram", icon: "i-lucide-git-branch" },
429
419
  {
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.13",
4
4
  "description": "nvent app module for Nuxt.js",
5
5
  "repository": "DevJoghurt/nvent",
6
6
  "license": "MIT",