This commit is contained in:
Christie Molloy 2020-10-14 16:53:32 -04:00
parent a4b858cdc0
commit 59bfeda338

View file

@ -126,17 +126,20 @@ export const GroupsSection = () => {
</> </>
} }
> >
{rawData && ( {rawData && (
<GroupsList list={filteredData ? filteredData : rawData} refresh={loader}/> <GroupsList
)} list={filteredData ? filteredData : rawData}
{filteredData && filteredData.length === 0 && ( refresh={loader}
<ListEmptyState />
hasIcon={true} )}
isSearchVariant={true} {filteredData && filteredData.length === 0 && (
message={t("noSearchResults")} <ListEmptyState
instructions={t("noSearchResultsInstructions")} hasIcon={true}
/> isSearchVariant={true}
)} message={t("noSearchResults")}
instructions={t("noSearchResultsInstructions")}
/>
)}
</TableToolbar> </TableToolbar>
<GroupsCreateModal <GroupsCreateModal
isCreateModalOpen={isCreateModalOpen} isCreateModalOpen={isCreateModalOpen}