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 { ROOT_STORE, WORKOUTS_STORE } from '@/store/constants'
import { ISport } from '@/types/sports'
import { IUserProfile } from '@/types/user'
import { IAuthUserProfile } from '@/types/user'
import { IWorkout, TWorkoutsPayload } from '@/types/workouts'
import { useStore } from '@/use/useStore'
import { getCalendarStartAndEnd } from '@/utils/dates'
@ -41,7 +41,7 @@
interface Props {
sports: ISport[]
user: IUserProfile
user: IAuthUserProfile
}
const props = defineProps<Props>()

View File

@ -1,5 +1,5 @@
<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'" />
<Password v-else />
<div class="password-message">

View File

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

View File

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

View File

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