diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-06 10:38:09 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-06 10:38:23 -0300 |
commit | 98013322db6b912ac50d72353dbd8b5f7fbc0435 (patch) | |
tree | 184b99e08c69f131fe26628bbb106633d7d66013 /packages/merchant-backoffice-ui/src/paths/instance/webhooks | |
parent | 97d7be7503168f4f3bbd05905d32aa76ca1636b2 (diff) | |
download | wallet-core-98013322db6b912ac50d72353dbd8b5f7fbc0435.tar.xz |
backoffice ui
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/webhooks')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx index 124ced1f1..42a179d2c 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/list/Table.tsx @@ -126,11 +126,10 @@ function Table({ const { i18n } = useTranslationContext(); return ( <div class="table-container"> - {onLoadMoreBefore && ( + {hasMoreBefore && ( <button class="button is-fullwidth" data-tooltip={i18n.str`load more webhooks before the first one`} - disabled={!hasMoreBefore} onClick={onLoadMoreBefore} > <i18n.Translate>load newer webhooks</i18n.Translate> @@ -187,11 +186,10 @@ function Table({ })} </tbody> </table> - {onLoadMoreAfter && ( + {hasMoreAfter && ( <button class="button is-fullwidth" data-tooltip={i18n.str`load more webhooks after the last one`} - disabled={!hasMoreAfter} onClick={onLoadMoreAfter} > <i18n.Translate>load older webhooks</i18n.Translate> |