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 && (
|
{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}
|
||||||
|
|
Loading…
Reference in a new issue