reorder records in chips

This commit is contained in:
bosiraphael
2024-11-20 11:11:58 +01:00
parent cc460d51fe
commit 4ca34a8615
2 changed files with 2 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ export const CommandMenuContextRecordChip = () => {
const { records, loading, totalCount } = useContextStoreSelectedRecords(
mainContextStoreComponentInstanceId,
3,
);
if (loading || !totalCount) {

View File

@@ -38,7 +38,7 @@ export const useContextStoreSelectedRecords = (
filter: queryFilter,
orderBy: [
{
createdAt: 'DescNullsFirst',
position: 'AscNullsFirst',
},
],
skip: