committed by
GitHub
parent
71254bfca0
commit
f620fd3c18
@ -62,7 +62,10 @@ export const useRecordShowPagePagination = (
|
|||||||
useFindManyRecords({
|
useFindManyRecords({
|
||||||
skip: loadingCursor,
|
skip: loadingCursor,
|
||||||
fetchPolicy: 'network-only',
|
fetchPolicy: 'network-only',
|
||||||
filter,
|
filter: {
|
||||||
|
...filter,
|
||||||
|
id: { neq: objectRecordId },
|
||||||
|
},
|
||||||
orderBy,
|
orderBy,
|
||||||
cursorFilter: isNonEmptyString(cursorFromRequest)
|
cursorFilter: isNonEmptyString(cursorFromRequest)
|
||||||
? {
|
? {
|
||||||
@ -81,7 +84,10 @@ export const useRecordShowPagePagination = (
|
|||||||
const { loading: loadingRecordAfter, records: recordsAfter } =
|
const { loading: loadingRecordAfter, records: recordsAfter } =
|
||||||
useFindManyRecords({
|
useFindManyRecords({
|
||||||
skip: loadingCursor,
|
skip: loadingCursor,
|
||||||
filter,
|
filter: {
|
||||||
|
...filter,
|
||||||
|
id: { neq: objectRecordId },
|
||||||
|
},
|
||||||
fetchPolicy: 'network-only',
|
fetchPolicy: 'network-only',
|
||||||
orderBy,
|
orderBy,
|
||||||
cursorFilter: cursorFromRequest
|
cursorFilter: cursorFromRequest
|
||||||
|
|||||||
Reference in New Issue
Block a user