[ARVADOS-WORKBENCH2] created: 1.3.0-233-g3b20598e

Git user git at public.curoverse.com
Wed Dec 19 18:04:04 EST 2018


        at  3b20598eaffacd4762c8cc92af42ca30e0750189 (commit)


commit 3b20598eaffacd4762c8cc92af42ca30e0750189
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Thu Dec 20 00:03:57 2018 +0100

    Fix error message for search result panel
    
    Feature #14348
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

diff --git a/src/store/search-results-panel/search-results-middleware-service.ts b/src/store/search-results-panel/search-results-middleware-service.ts
index d8b4d7e7..aa09838e 100644
--- a/src/store/search-results-panel/search-results-middleware-service.ts
+++ b/src/store/search-results-panel/search-results-middleware-service.ts
@@ -33,7 +33,7 @@ export class SearchResultsMiddlewareService extends DataExplorerMiddlewareServic
             api.dispatch(updateResources(response.items));
             api.dispatch(setItems(response));
         } catch {
-            api.dispatch(couldNotFetchWorkflows());
+            api.dispatch(couldNotFetchSearchResults());
         }
     }
 }
@@ -69,8 +69,8 @@ export const setItems = (listResults: ListResults<GroupContentsResource>) =>
         items: listResults.items.map(resource => resource.uuid),
     });
 
-const couldNotFetchWorkflows = () =>
+const couldNotFetchSearchResults = () =>
     snackbarActions.OPEN_SNACKBAR({
-        message: 'Could not fetch workflows.',
+        message: 'Could not fetch search results.',
         kind: SnackbarKind.ERROR
     });

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list