Mining Tab with addresses implemented
This commit is contained in:
1 parent
4953a21538
commit
78b43f95c7
3 files changed
+10
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
function newGovernanceGlobalsReports() {
|
||||
let thisObject = {
|
||||
REPORTS_SPACE_WIDTH: 900
|
||||
REPORTS_SPACE_WIDTH: 1150
|
||||
}
|
||||
return thisObject
|
||||
}
|
||||
@@ -40,6 +40,13 @@ function newGovernanceReportsMining() {
|
||||
"order": "ascending",
|
||||
"textAlign": "left"
|
||||
},
|
||||
{
|
||||
"name": "blockchainAccount",
|
||||
"label": "Blockchain Account",
|
||||
"type": "string",
|
||||
"order": "ascending",
|
||||
"textAlign": "left"
|
||||
},
|
||||
{
|
||||
"name": "tokensAwarded",
|
||||
"label": "Tokens Awarded",
|
||||
@@ -83,6 +90,7 @@ function newGovernanceReportsMining() {
|
||||
|
||||
let tableRecord = {
|
||||
"name": userProfile.name,
|
||||
"blockchainAccount": userProfile.payload.blockchainAccount,
|
||||
"tokensAwarded": userProfile.tokensMined.payload.tokensMined.awarded | 0,
|
||||
"tokensBonus": userProfile.tokensMined.payload.tokensMined.bonus | 0,
|
||||
"tokensMined": userProfile.tokensMined.payload.tokensMined.total | 0
|
||||
|
||||
@@ -96,6 +96,7 @@ function newGovernanceUserProfileSpace() {
|
||||
}
|
||||
|
||||
let blockchainAccount = response.address
|
||||
userProfile.payload.blockchainAccount = blockchainAccount
|
||||
if (
|
||||
blockchainAccount !== undefined &&
|
||||
blockchainAccount !== "" &&
|
||||
|
||||
Reference in new issue
Block a user