Web: People: Fixed the error of returning to the list of users immediately after refreshing the page and switching to the profile view
This commit is contained in:
parent
89b2ace28b
commit
acfe89b4f4
@ -64,6 +64,9 @@ class SectionBodyContent extends React.PureComponent {
|
||||
if (!isLoaded) return;
|
||||
|
||||
if(peopleList.length <= 0) setIsLoaded();
|
||||
|
||||
setIsLoaded(false)
|
||||
|
||||
fetchPeople(filter)
|
||||
.then(() => isLoaded && setIsLoaded(true))
|
||||
.catch((error) => {
|
||||
|
Loading…
Reference in New Issue
Block a user