Fix Views showing Hidden instead of other
This commit is contained in:
parent
bdd4deb302
commit
58ce3a4967
@ -256,11 +256,11 @@
|
|||||||
>
|
>
|
||||||
<div class="country-flag-container">
|
<div class="country-flag-container">
|
||||||
<template v-if="name.toLowerCase() === 'xx' || !name">
|
<template v-if="name.toLowerCase() === 'xx' || !name">
|
||||||
<img
|
<div
|
||||||
src="https://cdn.modrinth.com/placeholder-banner.svg"
|
class="country-flag flex select-none items-center justify-center bg-bg-raised font-extrabold text-secondary"
|
||||||
alt="Placeholder flag"
|
>
|
||||||
class="country-flag"
|
?
|
||||||
/>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<img
|
<img
|
||||||
@ -272,7 +272,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="country-text">
|
<div class="country-text">
|
||||||
<strong class="country-name">
|
<strong class="country-name">
|
||||||
<template v-if="name.toLowerCase() === 'xx' || !name">Hidden</template>
|
<template v-if="name.toLowerCase() === 'xx' || !name">Other</template>
|
||||||
<template v-else>{{ countryCodeToName(name) }}</template>
|
<template v-else>{{ countryCodeToName(name) }}</template>
|
||||||
</strong>
|
</strong>
|
||||||
<span class="data-point">{{ formatNumber(count) }}</span>
|
<span class="data-point">{{ formatNumber(count) }}</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user