From 8ecf0d7d0aacce22761afca05cbec4532cb900e2 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Sun, 23 Jul 2023 19:51:19 +0100 Subject: [PATCH] change order of new private method to fix lint after saas/core sync (#587) --- app/client/ui/WebhookPage.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/client/ui/WebhookPage.ts b/app/client/ui/WebhookPage.ts index f8af4ee5..cc8118f5 100644 --- a/app/client/ui/WebhookPage.ts +++ b/app/client/ui/WebhookPage.ts @@ -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 { // Map from external webhookId to local arbitrary rowId. const rowMap = new Map(editor.getRowIds().map(rowId => [editor.getRecord(rowId)!.webhookId, rowId])); @@ -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; }