Update src/views/CompatibilityPage.vue

Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
Isaac Marovitz 2024-01-26 23:10:25 -05:00 committed by GitHub
parent e74cc7e57c
commit 2adf95c6f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ function setData(this: any) {
labels: ["label"],
datasets: tierData.value.map((tier: PlayableTier): ChartDataset<"bar", number[]> => ({
data: [tier.count],
label: t(`views.compatibility.${tier.localeKey}`),
label: t("views.compatibility.${tier.localeKey}"),
backgroundColor: tier.color
})).reverse(),
})