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>