fix empty space being taken if no image

This commit is contained in:
2023-05-06 13:03:17 +02:00
parent ffd0db46d9
commit e48ae26c51
+1
View File
@@ -20,6 +20,7 @@
<div><span>{{ slotProps.data.name + (!nsServersByName[slotProps.data.name] ? ' (offline)' : '') }}</span></div> <div><span>{{ slotProps.data.name + (!nsServersByName[slotProps.data.name] ? ' (offline)' : '') }}</span></div>
<img v-if="nsServersByName[slotProps.data.name]" <img v-if="nsServersByName[slotProps.data.name]"
:src="`${publicPath}maps/${nsServersByName[slotProps.data.name].map}_lobby.png`" /> :src="`${publicPath}maps/${nsServersByName[slotProps.data.name].map}_lobby.png`" />
<div v-if="!nsServersByName[slotProps.data.name]"></div>
<div><span>{{ slotProps.data._value.deaths }}</span></div> <div><span>{{ slotProps.data._value.deaths }}</span></div>
<div><span>{{ slotProps.data._value.max_distance }}</span></div> <div><span>{{ slotProps.data._value.max_distance }}</span></div>