Load community funds balances from mainnet Gnosis Safe

This commit is contained in:
2020-08-13 00:27:40 +02:00
parent 52172ea065
commit dec71c6f4f
11 changed files with 375 additions and 24 deletions
+4 -2
View File
@@ -3,8 +3,8 @@ import { inject as service } from '@ember/service';
import { schedule } from '@ember/runloop';
export default class ApplicationRoute extends Route {
@service kredits;
@service communityFunds;
beforeModel(/* transition */) {
const kredits = this.kredits;
@@ -30,6 +30,8 @@ export default class ApplicationRoute extends Route {
schedule('afterRender', this.kredits.syncContributors,
this.kredits.syncContributors.perform);
}
}
schedule('afterRender', this.communityFunds.fetchBalances,
this.communityFunds.fetchBalances.perform);
}
}