Remove add new row tooltip when caused by inline filters

This commit is contained in:
Andrew Kingston 2024-04-17 14:44:52 +01:00
parent 27f7b1cc15
commit 58b23a736f
1 changed files with 6 additions and 1 deletions

View File

@ -30,6 +30,7 @@
refreshing,
config,
filter,
inlineFilters,
columnRenderMap,
} = getContext("grid")
@ -157,7 +158,11 @@
<!-- svelte-ignore a11y-click-events-have-key-events -->
<TempTooltip
text="Click here to create your first row"
condition={hasNoRows && $loaded && !$filter?.length && !$refreshing}
condition={hasNoRows &&
$loaded &&
!$filter?.length &&
!$inlineFilters?.length &&
!$refreshing}
type={TooltipType.Info}
>
{#if !visible && !selectedRowCount && $config.canAddRows}