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 && (
<GroupsList list={filteredData ? filteredData : rawData} refresh={loader}/>
)}
{filteredData && filteredData.length === 0 && (
<ListEmptyState
hasIcon={true}
isSearchVariant={true}
message={t("noSearchResults")}
instructions={t("noSearchResultsInstructions")}
/>
)}
{rawData && (
<GroupsList
list={filteredData ? filteredData : rawData}
refresh={loader}
/>
)}
{filteredData && filteredData.length === 0 && (
<ListEmptyState
hasIcon={true}
isSearchVariant={true}
message={t("noSearchResults")}
instructions={t("noSearchResultsInstructions")}
/>
)}
</TableToolbar>
<GroupsCreateModal
isCreateModalOpen={isCreateModalOpen}