[ARVADOS-WORKBENCH2] updated: 2.2.1-111-gb706c68e

Git user git at public.arvados.org
Wed Oct 13 21:08:03 UTC 2021


Summary of changes:
 .../group-details-panel-members-middleware-service.ts                 | 2 +-
 src/views-components/data-explorer/renderers.tsx                      | 2 +-
 src/views/group-details-panel/group-details-panel.tsx                 | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

       via  b706c68e69b79dc541928c9af01e6eae167b76fc (commit)
      from  947756fba487bd88f7b010424787a7409361f372 (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 b706c68e69b79dc541928c9af01e6eae167b76fc
Author: Stephen Smith <stephen at curii.com>
Date:   Wed Oct 13 17:07:27 2021 -0400

    18123: List all permission links in group members list & cleanup.
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/store/group-details-panel/group-details-panel-members-middleware-service.ts b/src/store/group-details-panel/group-details-panel-members-middleware-service.ts
index e295579a..23f0bbfd 100644
--- a/src/store/group-details-panel/group-details-panel-members-middleware-service.ts
+++ b/src/store/group-details-panel/group-details-panel-members-middleware-service.ts
@@ -44,7 +44,7 @@ export class GroupDetailsPanelMembersMiddlewareService extends DataExplorerMiddl
 
                 api.dispatch(GroupMembersPanelActions.SET_ITEMS({
                     ...listResultsToDataExplorerItemsMeta(permissions),
-                    items: users.items.map(item => item.uuid),
+                    items: permissions.items.map(item => item.uuid),
                 }));
             } catch (e) {
                 api.dispatch(couldNotFetchGroupDetailsContents());
diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index 99ca02d4..05ae4ce2 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -303,7 +303,7 @@ export const ResourceLinkClass = connect(
 const renderLink = (dispatch: Dispatch, item: Resource) => {
     var displayName = '';
 
-    if ((item as UserResource).kind == ResourceKind.USER
+    if ((item as UserResource).kind === ResourceKind.USER
           && typeof (item as UserResource).firstName !== 'undefined') {
         // We can be sure the resource is UserResource
         displayName = getUserDisplayName(item as UserResource);
diff --git a/src/views/group-details-panel/group-details-panel.tsx b/src/views/group-details-panel/group-details-panel.tsx
index 3baff579..5b1a884e 100644
--- a/src/views/group-details-panel/group-details-panel.tsx
+++ b/src/views/group-details-panel/group-details-panel.tsx
@@ -7,7 +7,7 @@ import { connect } from 'react-redux';
 
 import { DataExplorer } from "views-components/data-explorer/data-explorer";
 import { DataColumns } from 'components/data-table/data-table';
-import { ResourceFullName, ResourceUuid, ResourceEmail, ResourceUsername, ResourceLinkName, ResourceLinkHead, ResourceName } from 'views-components/data-explorer/renderers';
+import { ResourceUuid, ResourceEmail, ResourceUsername, ResourceLinkName, ResourceLinkHead, ResourceLinkTail } from 'views-components/data-explorer/renderers';
 import { createTree } from 'models/tree';
 import { noop } from 'lodash/fp';
 import { RootState } from 'store/store';
@@ -38,7 +38,7 @@ export const groupDetailsMembersPanelColumns: DataColumns<string> = [
         selected: true,
         configurable: true,
         filters: createTree(),
-        render: uuid => <ResourceFullName uuid={uuid} />
+        render: uuid => <ResourceLinkTail uuid={uuid} />
     },
     {
         name: GroupDetailsPanelMembersColumnNames.USERNAME,

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list