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; }