[ARVADOS-WORKBENCH2] updated: 2.2.1-56-g9deadbed

Git user git at public.arvados.org
Mon Aug 2 20:46:54 UTC 2021


Summary of changes:
 src/views/ssh-key-panel/ssh-key-panel.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  9deadbed533951f400aa2f626af04ccac21fe865 (commit)
      from  7bdf07a2661affc4f1496d73e27d16f6470e4e4a (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 9deadbed533951f400aa2f626af04ccac21fe865
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Aug 2 16:45:55 2021 -0400

    17690: Add guard against undefined user in ssh key page
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/views/ssh-key-panel/ssh-key-panel.tsx b/src/views/ssh-key-panel/ssh-key-panel.tsx
index 0c86b364..672b1bf3 100644
--- a/src/views/ssh-key-panel/ssh-key-panel.tsx
+++ b/src/views/ssh-key-panel/ssh-key-panel.tsx
@@ -11,7 +11,7 @@ import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps }
 
 const mapStateToProps = (state: RootState): SshKeyPanelRootDataProps => {
     const sshKeys = state.auth.sshKeys.filter((key) => {
-      return key.authorizedUserUuid == state.auth.user.uuid;
+      return key.authorizedUserUuid == (state.auth.user ? state.auth.user.uuid : null);
     });
 
     return {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list