mirror of
https://github.com/strapi/strapi.git
synced 2025-12-05 03:21:22 +00:00
chore: feedback fixes
This commit is contained in:
parent
97a452afae
commit
c2b6052b15
@ -7,8 +7,7 @@ import { Table, Th, Thead, Tr } from '@strapi/design-system/Table';
|
||||
import { Tooltip } from '@strapi/design-system/Tooltip';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
import { VisuallyHidden } from '@strapi/design-system/VisuallyHidden';
|
||||
import CarretDown from '@strapi/icons/CarretDown';
|
||||
import CarretUp from '@strapi/icons/CarretUp';
|
||||
import { CarretDown, CarretUp } from '@strapi/icons';
|
||||
|
||||
import { getTrad } from '../../utils';
|
||||
import { AssetDefinition, tableHeaders, FolderDefinition } from '../../constants';
|
||||
@ -70,9 +69,10 @@ export const TableList = ({
|
||||
<IconButton
|
||||
label={sortLabel}
|
||||
onClick={() => handleClickSort(isSorted, name)}
|
||||
icon={isUp ? <CarretUp /> : <CarretDown />}
|
||||
noBorder
|
||||
/>
|
||||
>
|
||||
{isUp ? <CarretUp /> : <CarretDown />}
|
||||
</IconButton>
|
||||
)
|
||||
}
|
||||
key={key}
|
||||
|
||||
@ -256,7 +256,7 @@ export const MediaLibrary = () => {
|
||||
!assetsLoading && !foldersLoading ? [...folders, ...assets] : []
|
||||
}
|
||||
selected={selected}
|
||||
sortQuery={query?.sort}
|
||||
sortQuery={query?.sort ?? ''}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user