fix: create spit
This commit is contained in:
parent
a9bba5ced6
commit
53f2ebab41
|
|
@ -559,7 +559,6 @@ export default function FormConvertSPIT() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return temp;
|
return temp;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -608,7 +607,8 @@ export default function FormConvertSPIT() {
|
||||||
icon: "success",
|
icon: "success",
|
||||||
confirmButtonColor: "#3085d6",
|
confirmButtonColor: "#3085d6",
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
router.push("/in/contributor/content/spit");
|
// router.push("/in/contributor/content/spit");
|
||||||
|
router.replace(`${window.location.pathname}?id=${id}`);
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to save:", error);
|
console.error("Failed to save:", error);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue