diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-22 10:43:21 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-22 10:43:21 -0300 |
commit | 1cdef9cbf18e0d2c36e334b664fbd18fad2e1602 (patch) | |
tree | 9ba4598a3aaf83a65699f94eb7270d4eaf144501 /packages/merchant-backoffice-ui/src/paths/instance | |
parent | 36ee99e370198b3a00929d914f0eb56e57b7fd4e (diff) | |
download | wallet-core-1cdef9cbf18e0d2c36e334b664fbd18fad2e1602.tar.xz |
remove pagination from template
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx index 9e59609c7..fce14dcc3 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/list/index.tsx @@ -93,11 +93,16 @@ export default function ListTemplates({ /> <ListPage - templates={result.body} - onLoadMoreBefore={ - result.isFirstPage ? undefined: result.loadFirst - } - onLoadMoreAfter={result.isLastPage ? undefined : result.loadNext} + // templates={result.body} + // onLoadMoreBefore={ + // result.isFirstPage ? undefined: result.loadFirst + // } + // onLoadMoreAfter={result.isLastPage ? undefined : result.loadNext} + + templates={result.body.templates} + onLoadMoreBefore={undefined} + onLoadMoreAfter={undefined} + onCreate={onCreate} onSelect={(e) => { onSelect(e.template_id); |