From 09b1bf119d67ebd2ba28604c2b7407749ed68c3a Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Tue, 3 Oct 2023 08:26:17 +0530 Subject: [PATCH] fix onReset --- lib/components/STableHeader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/STableHeader.vue b/lib/components/STableHeader.vue index d814d18b..c96398a3 100644 --- a/lib/components/STableHeader.vue +++ b/lib/components/STableHeader.vue @@ -29,7 +29,7 @@ const stats = computed(() => { // deprecated `reset` prop in favor of `actions`, remove this in next major version const resetAction = computed(() => { return props.reset - ? [{ label: 'Reset filters', onClick: props.onReset, type: 'info' }] + ? [{ label: 'Reset filters', onClick: props.onReset!, type: 'info' }] // onReset is required when reset is true : [] })