Skip to content

Commit

Permalink
Add tooltip with node operator info in fork status page
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed Dec 8, 2023
1 parent 6a5de80 commit f9cf8dd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions components/NodeOperatorsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@
:no-results-text="$t('nodes.noResults')"
:disable-pagination="isMobile"
>
<template #[`item.service`]="{ item }">
<v-list-item-title>
<v-tooltip bottom>
<template #activator="{ on, attrs }">
<span v-bind="attrs" v-on="on">{{ item.service }}</span>
</template>

<div>
<span v-if="item.url">- Web: {{ item.url }}</span
><br />
<span v-if="item.twitter">- X: {{ item.twitter }}</span
><br />
<span v-if="item.telegram">- T: {{ item.telegram }}</span
><br />
<span v-if="item.discord">- Discord: {{ item.discord }}</span>
</div>
</v-tooltip>
</v-list-item-title>
</template>

<template #[`item.status`]="{ item }">
<v-chip
v-if="item.status === 1"
Expand Down

0 comments on commit f9cf8dd

Please sign in to comment.