Use isFetching to show items are being refreshed
This commit is contained in:
@ -374,6 +374,7 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
showSuccessToast(`Item deleted`, {
|
showSuccessToast(`Item deleted`, {
|
||||||
position: 'bottom-right',
|
position: 'bottom-right',
|
||||||
})
|
})
|
||||||
@ -833,7 +834,7 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||||||
loadMore={fetchNextPage}
|
loadMore={fetchNextPage}
|
||||||
hasMore={hasNextPage ?? false}
|
hasMore={hasNextPage ?? false}
|
||||||
hasData={!!itemsPages}
|
hasData={!!itemsPages}
|
||||||
isValidating={isLoading || isFetchingNextPage}
|
isValidating={isLoading || isFetching || isFetchingNextPage}
|
||||||
fetchItemsError={!!fetchItemsError}
|
fetchItemsError={!!fetchItemsError}
|
||||||
labelsTarget={labelsTarget}
|
labelsTarget={labelsTarget}
|
||||||
setLabelsTarget={setLabelsTarget}
|
setLabelsTarget={setLabelsTarget}
|
||||||
|
|||||||
Reference in New Issue
Block a user