Client - minor refactor
This commit is contained in:
@ -17,7 +17,8 @@
|
||||
import { BarChart, useBarChart } from 'vue-chart-3'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { IStatisticsChartDataset, TDatasetKeys } from '@/types/statistics'
|
||||
import { IChartDataset } from '@/types/chart'
|
||||
import { TDatasetKeys } from '@/types/statistics'
|
||||
import { formatTooltipValue } from '@/utils/tooltip'
|
||||
|
||||
Chart.register(...registerables)
|
||||
@ -30,7 +31,7 @@
|
||||
},
|
||||
props: {
|
||||
datasets: {
|
||||
type: Object as PropType<IStatisticsChartDataset[]>,
|
||||
type: Object as PropType<IChartDataset[]>,
|
||||
required: true,
|
||||
},
|
||||
labels: {
|
||||
|
@ -27,7 +27,7 @@
|
||||
import { ComputedRef, PropType, defineComponent, computed } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import UserStatCard from '@/components/Dashboard/UserStartsCards/UserStatCard.vue'
|
||||
import UserStatCard from '@/components/Dashboard/UserStatsCards/UserStatCard.vue'
|
||||
import { IAuthUserProfile } from '@/types/user'
|
||||
|
||||
export default defineComponent({
|
Reference in New Issue
Block a user