You've already forked isop-mirror
feat: add routing for employer role in dashboard
This commit is contained in:
@@ -10,6 +10,8 @@ onMounted(() => {
|
|||||||
router.push('/dashboard/admin');
|
router.push('/dashboard/admin');
|
||||||
} else if (user.value?.role === Role.STUDENT) {
|
} else if (user.value?.role === Role.STUDENT) {
|
||||||
router.push('/dashboard/student');
|
router.push('/dashboard/student');
|
||||||
|
} else if (user.value?.role === Role.EMPLOYER) {
|
||||||
|
router.push('/dashboard/company');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user