File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 54
54
</q-banner >
55
55
<q-separator dark />
56
56
<q-list dense separator class =" bg-vdark text-vgrey" >
57
- <q-item v-if =" !status.accountAdded " >
57
+ <q-item v-if =" !status.accountRegistered " >
58
58
<q-item-section >
59
59
<!-- <q-btn outline rounded dense color="vgreen" icon="fas fa-user-plus" class="q-my-xs" @click="addNode()" label="Add">
60
60
<q-tooltip content-class="bg-vgreen text-vdark" content-style="font-size: 16px" :offset="[10, 10]">Add the node</q-tooltip>
64
64
</q-btn >
65
65
</q-item-section >
66
66
</q-item >
67
- <q-separator color =" vseparator" v-if =" !status.accountAdded " />
67
+ <q-separator color =" vseparator" v-if =" !status.accountRegistered " />
68
68
<q-item v-if =" !status.accountRun" >
69
69
<q-item-section >
70
70
<q-btn outline rounded dense color =" vgreen" icon =" fas fa-running" class =" q-my-xs" @click =" retreiveReward()" label =" Run" >
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ async function accountRegistered (accountName) {
129
129
130
130
async function accountRun ( accountName ) {
131
131
try {
132
- const result = await Vue . prototype . $rpc . getTable ( 'vtxdistribut ' , 'vtxdistribut ' , 'uptimes ' )
133
- let nodeStats = result . find ( row => row . account === accountName )
132
+ const result = await Vue . prototype . $rpc . getTable ( 'vdexdposvote ' , 'vdexdposvote ' , 'producers ' )
133
+ let nodeStats = result . find ( row => row . owner === accountName )
134
134
if ( nodeStats ) {
135
135
store . commit ( 'setAccountRun' , true )
136
136
} else {
You can’t perform that action at this time.
0 commit comments