Client - refactor

This commit is contained in:
Sam
2021-10-30 12:01:55 +02:00
parent b695d665d2
commit 1911b03db5
34 changed files with 73 additions and 73 deletions

View File

@ -139,14 +139,14 @@
import { useI18n } from 'vue-i18n'
import { ISport } from '@/types/sports'
import { IAuthUserProfile } from '@/types/user'
import { IUserProfile } from '@/types/user'
import { translateSports } from '@/utils/sports'
export default defineComponent({
name: 'WorkoutsFilters',
props: {
authUser: {
type: Object as PropType<IAuthUserProfile>,
type: Object as PropType<IUserProfile>,
required: true,
},
sports: {

View File

@ -118,7 +118,7 @@
import NoWorkouts from '@/components/Workouts/NoWorkouts.vue'
import { WORKOUTS_STORE } from '@/store/constants'
import { ITranslatedSport } from '@/types/sports'
import { IAuthUserProfile } from '@/types/user'
import { IUserProfile } from '@/types/user'
import { IWorkout } from '@/types/workouts'
import { useStore } from '@/use/useStore'
import { getDateWithTZ } from '@/utils/dates'
@ -135,7 +135,7 @@
required: true,
},
user: {
type: Object as PropType<IAuthUserProfile>,
type: Object as PropType<IUserProfile>,
required: true,
},
sports: {