Dynamically load all balances from Safe

This commit is contained in:
2020-08-13 16:13:50 +02:00
parent 1dd63b2c7a
commit 5f90bc23bc
4 changed files with 40 additions and 20 deletions
@@ -1,6 +1,12 @@
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import { alias } from '@ember/object/computed';
export default class BudgetBalancesComponent extends Component {
@service communityFunds
@alias('communityFunds.balances') balances;
get loading () {
return !this.communityFunds.balancesLoaded;
}
}