Skip to content

Commit

Permalink
do not check for data length to show loading bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Esteban Beltran committed Jun 8, 2022
1 parent 64abe42 commit 24ee910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export const AllCasesList = React.memo<AllCasesListProps>(
filterOptions={filterOptions}
goToCreateCase={onRowClick}
handleIsLoading={handleIsLoading}
isCasesLoading={isLoadingCases && data.cases.length === 0}
isCasesLoading={isLoadingCases}
isCommentUpdating={isLoadingCases}
isDataEmpty={isDataEmpty}
isSelectorView={isSelectorView}
Expand Down

0 comments on commit 24ee910

Please sign in to comment.