First pass of training report form, lacks attendees

This commit is contained in:
2025-11-18 19:38:24 -05:00
parent 995d145384
commit 76ec0179b9
17 changed files with 388 additions and 68 deletions

View File

@@ -46,13 +46,13 @@ router.beforeEach(async (to) => {
await user.loadUser();
}
// Not logged in
if (to.meta.requiresAuth && !user.isLoggedIn) {
// Redirect back to original page after login
const redirectUrl = encodeURIComponent(window.location.origin + to.fullPath)
window.location.href = `https://aj17thdevapi.nexuszone.net/login?redirect=${redirectUrl}`
return false // Prevent Vue Router from continuing
}
// // Not logged in
// if (to.meta.requiresAuth && !user.isLoggedIn) {
// // Redirect back to original page after login
// const redirectUrl = encodeURIComponent(window.location.origin + to.fullPath)
// window.location.href = `https://aj17thdevapi.nexuszone.net/login?redirect=${redirectUrl}`
// return false // Prevent Vue Router from continuing
// }
// // Must be a member