hide: search results when forms enabled (#5092)

This commit is contained in:
vjaris42 2022-12-29 11:11:57 +05:30 committed by GitHub
parent 6826fdc8df
commit 840863c7ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -451,7 +451,7 @@ class ManageOrgUsersComponent extends React.Component {
/>
)}
{users?.length === 0 && (
{users?.length === 0 && !showNewUserForm && !showUploadUserForm && (
<div className="d-flex justify-content-center flex-column">
<span className="text-center pt-5 font-weight-bold">No result found</span>
<small className="text-center text-muted">Try changing the filters</small>