Skip to content

Commit

Permalink
Add tooltip to Serial number in farms nodes (#347)
Browse files Browse the repository at this point in the history
* add message for Default string SN

* change the message
  • Loading branch information
0oM4R authored May 24, 2023
1 parent 00cbbaa commit 56fd411
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/dashboard/src/portal/components/FarmNodesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
{{ item.nodeId }}
</p>
</template>
<template v-slot:[`item.serialNumber`]="{ item }">
<p class="text-center mt-1 mb-0">
{{ item.serialNumber }}
<v-tooltip right v-if="item.serialNumber === `Default string`">
<template v-slot:activator="{ on, attrs }">
<v-icon medium v-on="on" v-bind="attrs"> mdi-information </v-icon>
</template>
<span>The manufacturer didn't provide a proper serial number</span>
</v-tooltip>
</p>
</template>

<template v-slot:[`item.status`]="{ item }">
<p class="text-center mt-1 mb-0">
<v-chip :color="getStatus(item).color">{{ getStatus(item).status }}</v-chip>
Expand Down

0 comments on commit 56fd411

Please sign in to comment.