Skip to content

Commit

Permalink
change order of new private method to fix lint after saas/core sync (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfitz authored Jul 23, 2023
1 parent 7256e0c commit 8ecf0d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/client/ui/WebhookPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,12 +209,6 @@ class WebhookExternalTable implements IExternalTable {
}
}

private _initalizeWebhookList(webhooks: WebhookSummary[]){

this.webhooks.removeAll();
this.webhooks.push(...webhooks);
}

public async sync(editor: IEdit): Promise<void> {
// Map from external webhookId to local arbitrary rowId.
const rowMap = new Map(editor.getRowIds().map(rowId => [editor.getRecord(rowId)!.webhookId, rowId]));
Expand Down Expand Up @@ -272,6 +266,12 @@ class WebhookExternalTable implements IExternalTable {
}]);
}

private _initalizeWebhookList(webhooks: WebhookSummary[]){

this.webhooks.removeAll();
this.webhooks.push(...webhooks);
}

private _getErrorString(e: ApiError): string {
return e.details?.userError || e.message;
}
Expand Down

0 comments on commit 8ecf0d7

Please sign in to comment.