fix: finalize logic
This commit is contained in:
parent
cef4daef15
commit
85b4fe6a4c
@ -34,10 +34,12 @@ onMounted(() => {
|
|||||||
checkPending(
|
checkPending(
|
||||||
(response) => {
|
(response) => {
|
||||||
const isValidated = response.data === true;
|
const isValidated = response.data === true;
|
||||||
if (isValidated) {
|
if (isValidated && roles.includes("MyINPulse-entrepreneur")) {
|
||||||
router.push("/JorCproject");
|
router.push("/canvas");
|
||||||
|
//router.push("/JorCproject");
|
||||||
} else {
|
} else {
|
||||||
router.push("/finalize");
|
router.push("/JorCproject");
|
||||||
|
//router.push("/finalize");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user