[arvados-workbench2] updated: 2.6.0-120-ge4342872

git repository hosting git at public.arvados.org
Tue Oct 3 17:28:21 UTC 2023


Summary of changes:
 src/store/navigation/navigation-action.ts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

       via  e4342872b52b88c232952317041fb4426faceb9b (commit)
      from  ddfb91e9eee0902fba8b972e2724b2eb4707654a (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 e4342872b52b88c232952317041fb4426faceb9b
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Tue Oct 3 13:28:15 2023 -0400

    15768: changed navigateTo to take a string only Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/store/navigation/navigation-action.ts b/src/store/navigation/navigation-action.ts
index b3bd3290..61720b56 100644
--- a/src/store/navigation/navigation-action.ts
+++ b/src/store/navigation/navigation-action.ts
@@ -20,9 +20,7 @@ export const navigationNotAvailable = (id: string) =>
         kind: SnackbarKind.ERROR,
     });
 
-export const navigateTo = (inputUuid: any) => async (dispatch: Dispatch, getState: () => RootState) => {
-    const uuid = typeof inputUuid === "string" ? inputUuid : inputUuid[0];
-
+export const navigateTo = (uuid: string) => async (dispatch: Dispatch, getState: () => RootState) => {
     for (const navToFn of pluginConfig.navigateToHandlers) {
         if (navToFn(dispatch, getState, uuid)) {
             return;

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list