Front-end fixes and updates

Especially Join/Leave event, Vue-Markdown replacement

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-02-25 17:20:06 +01:00
parent 3507438f17
commit c4e327508b
11 changed files with 772 additions and 950 deletions

View File

@@ -28,7 +28,8 @@ export const userRoutes = [
path: '/register/profile',
name: UserRouteName.REGISTER_PROFILE,
component: RegisterProfile,
props: true,
// We can only pass string values through params, therefore
props: (route) => ({ email: route.params.email, userAlreadyActivated: route.params.userAlreadyActivated === 'true' }),
meta: { requiredAuth: false },
},
{
@@ -56,8 +57,7 @@ export const userRoutes = [
path: '/validate/:token',
name: UserRouteName.VALIDATE,
component: Validate,
// We can only pass string values through params, therefore
props: (route) => ({ email: route.params.email, userAlreadyActivated: route.params.userAlreadyActivated === 'true' }),
props: true,
meta: { requiresAuth: false },
},
{