Private
Public Access
1
0

refactor: remove ServerIconController and update related views for server icon handling

This commit is contained in:
2025-12-06 10:38:34 -05:00
parent e6eaae6ffe
commit e0ee624589
6 changed files with 31 additions and 74 deletions

View File

@@ -5,11 +5,7 @@
<div class="flex items-center justify-between mb-2">
<div class="flex items-center gap-3">
<div class="bg-secondary/10 p-2 rounded-lg">
@if($server->user_set_icon)
<i class="ri-{{ $server->user_set_icon }} size-5" @if($server->user_set_icon_color) style="color: {{ $server->user_set_icon_color }}" @endif></i>
@else
<x-ri-server-line class="size-5 text-secondary" />
@endif
<x-ri-server-line class="size-5 text-secondary" />
</div>
<span class="font-medium">{{ $status->name }}</span>
</div>