Skip to content

Commit

Permalink
feat: add ProxyIcon component to ProxyNodeCard (#66)
Browse files Browse the repository at this point in the history
* feat: add ProxyIcon component to ProxyNodeCard

* chore: use node instead of proxy group

---------

Co-authored-by: Zephyruso <176294927+Zephyruso@users.noreply.github.com>
  • Loading branch information
PKC278 and Zephyruso authored Dec 7, 2024
1 parent 9d8d71c commit a797085
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/proxies/ProxyNodeCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"
:data-tip="node.name"
>
<ProxyIcon
v-if="node.icon"
:icon="node.icon"
/>
<div
:class="
twMerge('flex-1 whitespace-nowrap text-xs md:text-sm', truncateProxyName && 'truncate')
Expand Down Expand Up @@ -49,6 +53,7 @@ import { truncateProxyName, twoColumnNodeForMobile } from '@/store/settings'
import { twMerge } from 'tailwind-merge'
import { computed, onMounted, onUnmounted, ref } from 'vue'
import LatencyTag from './LatencyTag.vue'
import ProxyIcon from './ProxyIcon.vue'
const props = defineProps<{
name: string
Expand Down

0 comments on commit a797085

Please sign in to comment.