We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b816c38 commit 393e64cCopy full SHA for 393e64c
web/src/components/PlayerNameHistory.vue
@@ -4,7 +4,10 @@
4
<li
5
v-for="({name, changedToAt}, idx) of names"
6
:key="changedToAt || 'init'"
7
- :class="['p-3 border-t first:border-t-0 border-gray-300 flex items-center', {'bg-gray-50 text-gray-500': idx < lastInServer || firstInServer < idx}]"
+ :class="[
8
+ 'p-3 border-t first:border-t-0 border-gray-300 flex items-center',
9
+ {'bg-gray-50 text-gray-500': idx < lastInServer || (firstInServer === -1 ? Infinity : firstInServer) < idx},
10
+ ]"
11
>
12
<strong class="font-normal mr-3">{{ name }}</strong>
13
<span class="ml-auto text-gray-500 font-tnum">{{ formatDate(changedToAt) || t('nyaa.player_name_history.first_name') }}</span>
0 commit comments