fix: UI/UX tweaks

This commit is contained in:
Sérgio Salgado 2021-12-21 19:37:26 +00:00
parent 5ff676553e
commit bcda275177
24 changed files with 200 additions and 146 deletions

View file

@ -40,6 +40,7 @@ const Header = () => {
deleteWidth,
enableToggle,
toggleWidth,
orderedBy,
DEFAULT_COL_SIZE
} = useContext(TableCtx)
@ -62,7 +63,8 @@ const Header = () => {
idx
) => (
<Td header key={idx} width={width} textAlign={textAlign}>
{header || startCase(name)}
{header || startCase(name)}{' '}
{!R.isNil(orderedBy) && R.equals(name, orderedBy.code) && '-'}
</Td>
)