fix(striker-ui): don't insert empty header in List

main
Tsu-ba-me 2 years ago
parent 3e14c20f75
commit 3fd6c9d841
  1. 2
      striker-ui/components/List.tsx

@ -219,7 +219,7 @@ const List = forwardRef(
]); ]);
const headerElement = useMemo( const headerElement = useMemo(
() => () =>
isInsertHeader ? ( isInsertHeader && header ? (
<FlexBox row spacing={HEADER_SPACING} sx={{ height: '2.4em' }}> <FlexBox row spacing={HEADER_SPACING} sx={{ height: '2.4em' }}>
{checkAllElement} {checkAllElement}
{typeof header === 'string' ? ( {typeof header === 'string' ? (

Loading…
Cancel
Save