bill 2 anni fa
parent
commit
be37e01bf3
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      src/views/graphic/header.vue

+ 5 - 0
src/views/graphic/header.vue

@@ -177,6 +177,11 @@ const saveHandler = async () => {
     await router.replace({
       name: isRoad.value ? writeRouteName.roads : writeRouteName.accidents,
     });
+  } else {
+    router.replace({
+      name: writeRouteName.graphic,
+      params: { mode: Mode.Road, id: data.value.id, action: "update" },
+    });
   }
 };