From e854d57bed56bcbba4d191af54125ae6dd569a88 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 20 Jan 2023 15:06:08 +0100 Subject: Refactor row selection reset --- client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | 2 +- client/src/app/shared/shared-moderation/account-blocklist.component.ts | 2 +- client/src/app/shared/shared-moderation/server-blocklist.component.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts index 569a37b17..d8470e927 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts @@ -175,7 +175,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit { return Actor.IS_LOCAL(abuse.reporterAccount.host) } - protected reloadData () { + protected reloadDataInternal () { debugLogger('Loading data.') const options = { diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.ts b/client/src/app/shared/shared-moderation/account-blocklist.component.ts index 9ed00bc12..38dbbff78 100644 --- a/client/src/app/shared/shared-moderation/account-blocklist.component.ts +++ b/client/src/app/shared/shared-moderation/account-blocklist.component.ts @@ -48,7 +48,7 @@ export class GenericAccountBlocklistComponent extends RestTable implements OnIni ) } - protected reloadData () { + protected reloadDataInternal () { const operation = this.mode === BlocklistComponentType.Account ? this.blocklistService.getUserAccountBlocklist({ pagination: this.pagination, diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.ts b/client/src/app/shared/shared-moderation/server-blocklist.component.ts index 1ba7a1b4d..f1bcbd561 100644 --- a/client/src/app/shared/shared-moderation/server-blocklist.component.ts +++ b/client/src/app/shared/shared-moderation/server-blocklist.component.ts @@ -75,7 +75,7 @@ export class GenericServerBlocklistComponent extends RestTable implements OnInit }) } - protected reloadData () { + protected reloadDataInternal () { const operation = this.mode === BlocklistComponentType.Account ? this.blocklistService.getUserServerBlocklist({ pagination: this.pagination, -- cgit v1.2.3