mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use isFetching to show items are being refreshed
This commit is contained in:
parent
94f2b5eda1
commit
6ea3b2d54c
1 changed files with 2 additions and 1 deletions
|
|
@ -374,6 +374,7 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||
})
|
||||
return
|
||||
}
|
||||
|
||||
showSuccessToast(`Item deleted`, {
|
||||
position: 'bottom-right',
|
||||
})
|
||||
|
|
@ -833,7 +834,7 @@ export function LibraryContainer(props: LibraryContainerProps): JSX.Element {
|
|||
loadMore={fetchNextPage}
|
||||
hasMore={hasNextPage ?? false}
|
||||
hasData={!!itemsPages}
|
||||
isValidating={isLoading || isFetchingNextPage}
|
||||
isValidating={isLoading || isFetching || isFetchingNextPage}
|
||||
fetchItemsError={!!fetchItemsError}
|
||||
labelsTarget={labelsTarget}
|
||||
setLabelsTarget={setLabelsTarget}
|
||||
|
|
|
|||
Loading…
Reference in a new issue