fix: style

This commit is contained in:
2026-03-12 14:07:55 +01:00
parent bc7eb7122c
commit 1e6f3c46d1
5 changed files with 32 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, computed, watch, onMounted, type Ref } from 'vue'
import { ref, computed, watch, type Ref } from 'vue'
import { Bar } from 'vue-chartjs'
import {
Chart as ChartJS,
@@ -10,7 +10,7 @@ import {
CategoryScale,
LinearScale,
} from 'chart.js'
import { getRepos, getYears, getQuarters, getIssues, type QuarterData, type IssueTimeSummary } from '@/composable/useRepoApi'
import { getYears, getQuarters, getIssues, type QuarterData, type IssueTimeSummary } from '@/composable/useRepoApi'
import { useAuthStore } from '@/stores/auth'
import { i18n } from '@/plugins/02_i18n'
import type { TableColumn } from '@nuxt/ui'
@@ -49,7 +49,7 @@ async function loadData<T>(fetchFn: () => Promise<any>, target: Ref<T[]>, errorM
}
}
onMounted(() => loadData(() => getRepos(), repos, t('repo_chart.failed_to_load_repositories')))
// onMounted(() => loadData(() => getRepos(), repos, t('repo_chart.failed_to_load_repositories')))
watch(selectedRepo, async (newRepo) => {
selectedYear.value = null