diff --git a/js/about/contributionStatement.js b/js/about/contributionStatement.js index 096026c6357..9ebe2631825 100644 --- a/js/about/contributionStatement.js +++ b/js/about/contributionStatement.js @@ -262,12 +262,19 @@ class ContributionStatement extends ImmutableComponent { return pages } + get contributionDateRangeString () { + if (this.lastContributionHumanFormattedDate !== '') { + return (this.lastContributionHumanFormattedDate + ' - ' + this.thisContributionHumanFormattedDate) + } + return null + } + ContributionStatementDetailTable (page, pageIdx, totalPages) { return (
- { this.lastContributionHumanFormattedDate } - { this.thisContributionHumanFormattedDate } + { this.contributionDateRangeString } diff --git a/tools/lib/utilApp/index.js b/tools/lib/utilApp/index.js index 59ac0f1e976..b41f337435a 100644 --- a/tools/lib/utilApp/index.js +++ b/tools/lib/utilApp/index.js @@ -54,7 +54,7 @@ app.on('ready', () => { cleanUserData(process.argv[3]) break case 'addSimulatedLedgerTransactions': - addSimulatedLedgerTransactions(process.argv[3]) + addSimulatedLedgerTransactions(parseInt(process.argv[3])) break case 'addSimulatedSynopsisVisits': addSimulatedSynopsisVisits(process.argv[3]) diff --git a/tools/utilAppRunner.js b/tools/utilAppRunner.js index 3c073a0271c..f2f2db52f27 100644 --- a/tools/utilAppRunner.js +++ b/tools/utilAppRunner.js @@ -14,7 +14,7 @@ function runUtilApp (cmd, file, stdioOptions) { } cmd = cmd.split(' ') if (process.env.NODE_ENV === 'development') { - cmd.push('--user-data-dir=brave-development') + cmd.push('--user-data-dir=../../../brave-development') } const utilApp = proc.spawnSync('electron', [utilAppDir].concat(cmd), options) if (utilApp.error) {