Skip to content

Commit 58ce3a4

Browse files
committed
Fix Views showing Hidden instead of other
1 parent bdd4deb commit 58ce3a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/frontend/src/components/ui/charts/ChartDisplay.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@
256256
>
257257
<div class="country-flag-container">
258258
<template v-if="name.toLowerCase() === 'xx' || !name">
259-
<img
260-
src="https://cdn.modrinth.com/placeholder-banner.svg"
261-
alt="Placeholder flag"
262-
class="country-flag"
263-
/>
259+
<div
260+
class="country-flag flex select-none items-center justify-center bg-bg-raised font-extrabold text-secondary"
261+
>
262+
?
263+
</div>
264264
</template>
265265
<template v-else>
266266
<img
@@ -272,7 +272,7 @@
272272
</div>
273273
<div class="country-text">
274274
<strong class="country-name">
275-
<template v-if="name.toLowerCase() === 'xx' || !name">Hidden</template>
275+
<template v-if="name.toLowerCase() === 'xx' || !name">Other</template>
276276
<template v-else>{{ countryCodeToName(name) }}</template>
277277
</strong>
278278
<span class="data-point">{{ formatNumber(count) }}</span>

0 commit comments

Comments
 (0)