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