fix: still working on the pending
Some checks failed
Format / formatting (push) Failing after 6s
Build / build (push) Successful in 42s
CI / build (push) Failing after 12s

This commit is contained in:
Mohamed Maoulainine Maoulainine
2025-05-10 23:16:08 +02:00
parent abfe92bc87
commit 4c15cab607
4 changed files with 99 additions and 1 deletions

View File

@ -34,7 +34,10 @@ onMounted(() => {
checkPending(
(response) => {
const isValidated = response.data === true;
if (isValidated && roles.includes("MyINPulse-entrepreneur")) {
if (
isValidated &&
roles.includes("MyINPulse-entrepreneur")
) {
router.push("/canvas");
//router.push("/JorCproject");
} else {