fix: improve plugins functionality with server management
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<div class="grid h-9 w-9 place-items-center overflow-hidden rounded-md bg-secondary text-sm font-semibold text-foreground">
|
||||
@if (currentRoom()?.icon) {
|
||||
<img
|
||||
[src]="currentRoom()!.icon"
|
||||
[alt]="currentRoom()!.name + ' icon'"
|
||||
class="h-full w-full object-cover"
|
||||
/>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
class="h-full w-full bg-cover bg-center bg-no-repeat"
|
||||
[style.backgroundImage]="'url(' + currentRoom()!.icon + ')'"
|
||||
></div>
|
||||
} @else {
|
||||
{{ currentRoom()?.name?.charAt(0)?.toUpperCase() || '#' }}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user