Skip to content

Commit

Permalink
FIX: warnings in dev console in the control page (#2130)
Browse files Browse the repository at this point in the history
* FIX: warnings in dev console in the control page

* UPDATE: format
  • Loading branch information
mabasian authored Dec 3, 2024
1 parent 3cf78cd commit a17bbc5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@
<template v-else>
<ServiceLine
:label="t('controlPage.currentEpoch')"
:value="flag ? beaconControler : controlStore?.currentResult?.currentEpoch"
:value="String(flag ? beaconControler : controlStore?.currentResult?.currentEpoch)"
:hover-text="
t('controlPage.currentEpochIs', {
epoch: flag ? beaconControler : controlStore?.currentResult?.currentEpoch,
epoch: String(flag ? beaconControler : controlStore?.currentResult?.currentEpoch),
})
"
/>
<ServiceLine
label="INDEX"
:value="flag ? beaconControler : controlStore?.slotIndex + 1"
:value="String(flag ? beaconControler : controlStore?.slotIndex + 1)"
:hover-text="
controlStore.slotIndex < 0
? ''
: t('controlPage.currentSlotIs', {
slot: controlStore.slotIndex + 1,
slot: String(controlStore.slotIndex + 1),
})
"
/>
<ServiceLine
:label="t('controlPage.currentSlot')"
:value="flag ? beaconControler : controlStore?.currentResult?.currentSlot"
:value="String(flag ? beaconControler : controlStore?.currentResult?.currentSlot)"
:hover-text="
t('controlPage.currentSlotIs', {
slot: flag ? beaconControler : controlStore?.currentResult?.currentSlot,
slot: String(flag ? beaconControler : controlStore?.currentResult?.currentSlot),
})
"
/>
Expand Down

0 comments on commit a17bbc5

Please sign in to comment.