format
This commit is contained in:
parent
a4b858cdc0
commit
59bfeda338
1 changed files with 14 additions and 11 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue