fix: fallback to local coolify.png

This commit is contained in:
Andras Bacsai
2024-11-14 13:12:27 +01:00
parent a77ed93695
commit 33183ab344
2 changed files with 2 additions and 1 deletions

View File

@@ -104,6 +104,7 @@
:src='service.logo'
x-on:error.window="$event.target.src = service.logo_github_url"
onerror="this.onerror=null; this.src=this.getAttribute('data-fallback');"
x-on:error="$event.target.src = '/svgs/coolify.png'"
:data-fallback='service.logo_github_url' />
</template>
</x-slot:logo>