import { getSearchSessions } from 'store/search-bar/search-bar-actions';
import { camelCase } from 'lodash';
import { GroupContentsResource } from 'services/groups-service/groups-service';
-import { PendingIcon } from 'components/icon/icon';
export enum SearchResultsPanelColumnNames {
CLUSTER = "Cluster",
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [selectedItem]);
- const [isLoaded, setIsLoaded] = React.useState<boolean>(false);
-
const onItemClick = useCallback((uuid) => {
setSelectedItem(uuid);
props.onItemClick(uuid);
contextMenuColumn={false}
elementPath={`/ ${itemPath.reverse().join(' / ')}`}
hideSearchInput
- defaultViewIcon={isLoaded && props.numberOfItems === 0 ? undefined : PendingIcon}
- defaultViewMessages={isLoaded && props.numberOfItems === 0 ? ['No items found'] : ['Loading data, please wait']}
title={
<div>
{loggedIn.length === 1 ?