mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-03 09:42:01 +03:00
parent
71254bfca0
commit
f620fd3c18
@ -62,7 +62,10 @@ export const useRecordShowPagePagination = (
|
||||
useFindManyRecords({
|
||||
skip: loadingCursor,
|
||||
fetchPolicy: 'network-only',
|
||||
filter,
|
||||
filter: {
|
||||
...filter,
|
||||
id: { neq: objectRecordId },
|
||||
},
|
||||
orderBy,
|
||||
cursorFilter: isNonEmptyString(cursorFromRequest)
|
||||
? {
|
||||
@ -81,7 +84,10 @@ export const useRecordShowPagePagination = (
|
||||
const { loading: loadingRecordAfter, records: recordsAfter } =
|
||||
useFindManyRecords({
|
||||
skip: loadingCursor,
|
||||
filter,
|
||||
filter: {
|
||||
...filter,
|
||||
id: { neq: objectRecordId },
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
orderBy,
|
||||
cursorFilter: cursorFromRequest
|
||||
|
Loading…
Reference in New Issue
Block a user