renmae currentSort

This commit is contained in:
dklimpel 2024-02-05 21:57:14 +01:00
parent efd814eedd
commit 963e1a3977
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ import { DeleteMediaButton } from "./media";
const ListActions = props => {
const { className, exporter, filters, maxResults, ...rest } = props;
const {
currentSort,
sort,
resource,
displayedFilters,
filterValues,
@ -39,7 +39,7 @@ const ListActions = props => {
<ExportButton
disabled={total === 0}
resource={resource}
sort={currentSort}
sort={sort}
filterValues={filterValues}
maxResults={maxResults}
/>

View File

@ -73,7 +73,7 @@ const date_format = {
};
const UserListActions = ({
currentSort,
sort,
className,
resource,
filters,
@ -103,7 +103,7 @@ const UserListActions = ({
<ExportButton
disabled={total === 0}
resource={resource}
sort={currentSort}
sort={sort}
filter={{ ...filterValues, ...permanentFilter }}
exporter={exporter}
maxResults={maxResults}