fix follows refresh

This commit is contained in:
Nicolas Constant 2020-06-15 00:56:39 -04:00
parent 1de96741ad
commit e821c8a8dc
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ export class UserFollowsComponent implements OnInit, OnDestroy {
private load(type: 'follows' | 'followers', accountName: string) {
if (type && accountName) {
console.warn(`type: ${type} account ${accountName}`);
this.accounts = [];
this.isLoading = true;
let currentAccount = this.toolsService.getSelectedAccounts()[0];
@ -159,7 +159,7 @@ export class UserFollowsComponent implements OnInit, OnDestroy {
});
}
refresh(): any {
refresh(): any {
this.load(this._type, this._currentAccount);
}