21224: moved isNotFound fetching to data explorer Arvados-DCO-1.1-Signed-off-by:...
[arvados.git] / services / workbench2 / src / views / search-results-panel / search-results-panel.tsx
index 907189d1fa0906149da4ce86634318f94c3c7b41..87e26d50a2a7f7bed08f16d5a8400722723438e2 100644 (file)
@@ -23,7 +23,6 @@ export interface SearchResultsPanelDataProps {
     remoteHostsConfig: { [key: string]: Config };
     localCluster: string;
     numberOfItems: number;
-    isNotFound: boolean;
 }
 
 export interface SearchResultsPanelActionProps {
@@ -38,14 +37,12 @@ export type SearchResultsPanelProps = SearchResultsPanelDataProps & SearchResult
 const mapStateToProps = (rootState: RootState) => {
     const { dataExplorer } = rootState;
     const numberOfItems = dataExplorer[SEARCH_RESULTS_PANEL_ID].items.length;
-    const isNotFound = dataExplorer[SEARCH_RESULTS_PANEL_ID].isNotFound;
     return {
         user: rootState.auth.user,
         sessions: rootState.auth.sessions,
         remoteHostsConfig: rootState.auth.remoteHostsConfig,
         localCluster: rootState.auth.localCluster,
         numberOfItems,
-        isNotFound,
     };
 };