feat: route geïnitialiseerd
This commit is contained in:
parent
7283dd298c
commit
cd86497b41
2 changed files with 23 additions and 43 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
// Instantiate variables to use in html to render right
|
||||
// Links and content dependent on the role (student or teacher)
|
||||
//TODO: use localStorage to know which one in logged in, teacher or student
|
||||
const isTeacher = route.path.includes("teacher");
|
||||
|
||||
const userId = route.params.id as string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue