reuse home-component in stats view

This commit is contained in:
Torjus Håkestad 2021-04-11 12:42:47 +02:00
parent b7893b61eb
commit 98abe8c20c

View File

@ -5,7 +5,7 @@
<b-tabs card> <b-tabs card>
<b-tab title="Totals"> <b-tab title="Totals">
<b-card-body> <b-card-body>
<stats-pie statType="total" /> <home></home>
</b-card-body> </b-card-body>
</b-tab> </b-tab>
<b-tab title="Usernames"> <b-tab title="Usernames">
@ -37,11 +37,13 @@
import { Component, Prop, Vue } from 'vue-property-decorator'; import { Component, Prop, Vue } from 'vue-property-decorator';
import StatsUsername from '@/components/StatsUsername.vue'; import StatsUsername from '@/components/StatsUsername.vue';
import StatsPie from '@/components/StatsPie.vue'; import StatsPie from '@/components/StatsPie.vue';
import Home from '@/components/Home.vue';
@Component({ @Component({
components: { components: {
StatsUsername, StatsUsername,
StatsPie, StatsPie,
Home,
}, },
}) })
export default class Stats extends Vue {} export default class Stats extends Vue {}