update conditional showing of empty list component

This commit is contained in:
John Mitchell 2019-02-04 15:39:44 -05:00
parent 21bdd487e6
commit 736f1e1775
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -221,13 +221,7 @@ class OrganizationsList extends Component {
<Trans>Please add an organization to populate this list</Trans>
</EmptyStateBody>
</EmptyState>
)}
{(
typeof noInitialResults !== 'undefined'
&& !noInitialResults
&& !loading
&& !error
) && (
) || (
<Fragment>
<DataListToolbar
addUrl={`${match.url}/add`}