1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +00:00

Added add test and add class buttons to tests and classes pages

This commit is contained in:
2022-03-06 22:46:32 +00:00
parent cface26bc9
commit c6419cad8b
8 changed files with 50 additions and 17 deletions

View File

@@ -13,7 +13,8 @@ router.get('/classes', async (req, res) => {
title: 'Stratos - Classes',
current: 'Classes',
name: req.session.fullName,
classes: await u.getClasses()
classes: await u.getClasses(),
userType: req.session.userType
});
});