Skip to content

Commit

Permalink
fix(app-page-builder): use correct value of sort
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu96 authored and adrians5j committed Oct 18, 2021
1 parent 0a284db commit 911216f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -166,7 +166,7 @@ const PagesDataList = ({ onCreatePage, canCreate, onImportPage }: PagesDataListP
() => (
<DataListModalOverlay>
<Form
data={{ ...where, sort: [sort] }}
data={{ ...where, sort }}
onChange={({ status, category, sort }) => {
// Update "where" filter.
const where = { category, status: undefined };
Expand Down

0 comments on commit 911216f

Please sign in to comment.