diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-09 13:21:51 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-09 13:21:51 -0300 |
commit | 7f3253333ebd5ac825901f2f74db690588d3ac96 (patch) | |
tree | 62882fb7cd30596a0cfe48857534e71ecd3ffa28 /packages/merchant-backoffice-ui/src/paths/instance/webhooks | |
parent | 9d902ed30824f5f1bcf399e7b3a4f7b0c3726213 (diff) | |
download | wallet-core-7f3253333ebd5ac825901f2f74db690588d3ac96.tar.xz |
fix #8716 and pagination
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/webhooks')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx index 6c68bc973..988a54604 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/index.tsx @@ -76,9 +76,9 @@ export default function ListWebhooks({ onCreate, onSelect }: Props): VNode { <NotificationCard notification={notif} /> <ListPage - webhooks={result.body} - onLoadMoreBefore={result.isFirstPage ? undefined : result.loadFirst} - onLoadMoreAfter={result.isLastPage ? undefined : result.loadNext} + webhooks={result.body.webhooks} + onLoadMoreBefore={undefined} //result.isFirstPage ? undefined : result.loadFirst} + onLoadMoreAfter={undefined} //result.isLastPage ? undefined : result.loadNext} onCreate={onCreate} onSelect={(e) => { onSelect(e.webhook_id); |