Client - minor fixes

This commit is contained in:
Sam 2022-03-20 19:48:51 +01:00
parent 787edbc1af
commit 4a22f91bda
5 changed files with 8 additions and 5 deletions

View File

@ -33,7 +33,7 @@
import CalendarHeader from '@/components/Dashboard/UserCalendar/CalendarHeader.vue' import CalendarHeader from '@/components/Dashboard/UserCalendar/CalendarHeader.vue'
import { ROOT_STORE, WORKOUTS_STORE } from '@/store/constants' import { ROOT_STORE, WORKOUTS_STORE } from '@/store/constants'
import { ISport } from '@/types/sports' import { ISport } from '@/types/sports'
import { IUserProfile } from '@/types/user' import { IAuthUserProfile } from '@/types/user'
import { IWorkout, TWorkoutsPayload } from '@/types/workouts' import { IWorkout, TWorkoutsPayload } from '@/types/workouts'
import { useStore } from '@/use/useStore' import { useStore } from '@/use/useStore'
import { getCalendarStartAndEnd } from '@/utils/dates' import { getCalendarStartAndEnd } from '@/utils/dates'
@ -41,7 +41,7 @@
interface Props { interface Props {
sports: ISport[] sports: ISport[]
user: IUserProfile user: IAuthUserProfile
} }
const props = defineProps<Props>() const props = defineProps<Props>()

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="password-action-done" class="center-card center-card with-margin"> <div id="password-action-done" class="center-card with-margin">
<EmailSent v-if="action === 'request-sent'" /> <EmailSent v-if="action === 'request-sent'" />
<Password v-else /> <Password v-else />
<div class="password-message"> <div class="password-message">

View File

@ -1,7 +1,7 @@
<template> <template>
<div <div
id="workout-edition" id="workout-edition"
class="center-card center-card with-margin" class="center-card with-margin"
:class="{ 'center-form': workout && workout.with_gpx }" :class="{ 'center-form': workout && workout.with_gpx }"
> >
<Card> <Card>

View File

@ -48,7 +48,7 @@ const routes: Array<RouteRecordRaw> = [
name: 'AccountConfirmation', name: 'AccountConfirmation',
component: () => component: () =>
import( import(
/* webpackChunkName: 'profile' */ '@/views/user/AccountConfirmation.vue' /* webpackChunkName: 'profile' */ '@/views/user/AccountConfirmationView.vue'
), ),
}, },
{ {

View File

@ -7,6 +7,9 @@
<ErrorImg /> <ErrorImg />
<p class="error-message"> <p class="error-message">
<span>{{ $t('error.SOMETHING_WRONG') }}.</span> <span>{{ $t('error.SOMETHING_WRONG') }}.</span>
<router-link class="links" to="/account-confirmation/resend">
{{ $t('buttons.ACCOUNT-CONFIRMATION-RESEND') }}?
</router-link>
</p> </p>
</div> </div>
</template> </template>