This commit is contained in:
Baobhan Sith
2025-04-27 21:39:45 +08:00
parent 4c4f794c17
commit 2a2dea4d18
2 changed files with 4 additions and 4 deletions
@@ -374,7 +374,7 @@ const scrollToHighlighted = async () => {
@click.right.prevent
@contextmenu.prevent="showContextMenu($event, conn)"
>
<i class="fas fa-server mr-2.5 w-4 text-center text-text-secondary group-hover:text-primary" :class="{ 'text-white': conn.id === highlightedConnectionId }"></i>
<i :class="['fas', conn.type === 'RDP' ? 'fa-desktop' : 'fa-server', 'mr-2.5 w-4 text-center text-text-secondary group-hover:text-primary', { 'text-white': conn.id === highlightedConnectionId }]"></i>
<span class="overflow-hidden text-ellipsis whitespace-nowrap flex-grow text-sm" :title="conn.name || conn.host">
{{ conn.name || conn.host }}
</span>