[arvados] updated: 2.7.0-6011-g349e681615

git repository hosting git at public.arvados.org
Wed Feb 21 15:18:24 UTC 2024


Summary of changes:
 .../src/store/favorite-panel/favorite-panel-middleware-service.ts     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  349e681615d2b9707f53f247c6c5b6d6229e7f1f (commit)
      from  f86892e89212ec7ada8c666a983d8f56fb30b15d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 349e681615d2b9707f53f247c6c5b6d6229e7f1f
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Feb 21 10:18:20 2024 -0500

    21386: favorites loading view good Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/favorite-panel/favorite-panel-middleware-service.ts b/services/workbench2/src/store/favorite-panel/favorite-panel-middleware-service.ts
index 0229834c3b..a15690b3f4 100644
--- a/services/workbench2/src/store/favorite-panel/favorite-panel-middleware-service.ts
+++ b/services/workbench2/src/store/favorite-panel/favorite-panel-middleware-service.ts
@@ -77,7 +77,6 @@ export class FavoritePanelMiddlewareService extends DataExplorerMiddlewareServic
                     response.items.push(it);
                 });
 
-                api.dispatch(progressIndicatorActions.PERSIST_STOP_WORKING(this.getId()));
                 api.dispatch(resourcesActions.SET_RESOURCES(response.items));
                 await api.dispatch<any>(loadMissingProcessesInformation(response.items));
                 api.dispatch(favoritePanelActions.SET_ITEMS({
@@ -87,8 +86,8 @@ export class FavoritePanelMiddlewareService extends DataExplorerMiddlewareServic
                     rowsPerPage: response.limit
                 }));
                 api.dispatch<any>(updateFavorites(response.items.map((item: any) => item.uuid)));
-            } catch (e) {
                 api.dispatch(progressIndicatorActions.PERSIST_STOP_WORKING(this.getId()));
+            } catch (e) {
                 api.dispatch(favoritePanelActions.SET_ITEMS({
                     items: [],
                     itemsAvailable: 0,
@@ -96,6 +95,7 @@ export class FavoritePanelMiddlewareService extends DataExplorerMiddlewareServic
                     rowsPerPage: dataExplorer.rowsPerPage
                 }));
                 api.dispatch(couldNotFetchFavoritesContents());
+                api.dispatch(progressIndicatorActions.PERSIST_STOP_WORKING(this.getId()));
             }
         }
     }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list