1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

don't render instance icon if it doesn't have one

This commit is contained in:
Hazelnoot
2025-05-29 17:36:09 -04:00
parent 2c2dff72e4
commit 5575c797a4

View File

@@ -10,7 +10,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<div>
<div v-if="tab === 'overview'" class="_gaps_m">
<div class="fnfelxur">
<img :src="faviconUrl" alt="" class="icon"/>
<!-- TODO copy the alt text stuff from reports UI PR -->
<img v-if="faviconUrl" :src="faviconUrl" alt="" class="icon"/>
<span class="name">{{ instance.name || `(${i18n.ts.unknown})` }}</span>
</div>
<div style="display: flex; flex-direction: column; gap: 1em;">