From e282e02ff32220254383a8eb8a0b206d147c2516 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 6 Aug 2024 13:56:58 +0200 Subject: [PATCH 1/2] fix: fix item item login membership table layout --- .../item/sharing/ItemMembershipsTable.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/components/item/sharing/ItemMembershipsTable.tsx b/src/components/item/sharing/ItemMembershipsTable.tsx index e546874c4..fcaf84798 100644 --- a/src/components/item/sharing/ItemMembershipsTable.tsx +++ b/src/components/item/sharing/ItemMembershipsTable.tsx @@ -91,20 +91,23 @@ const ItemMembershipsTable = ({ {showEmail && ( - + {translateBuilder(BUILDER.ITEM_MEMBERSHIPS_TABLE_EMAIL_HEADER)} )} - + {translateBuilder(BUILDER.ITEM_MEMBERSHIPS_TABLE_NAME_HEADER)} - + {translateBuilder( BUILDER.ITEM_MEMBERSHIPS_TABLE_PERMISSION_HEADER, )} {!readOnly && ( - + {translateBuilder( BUILDER.ITEM_MEMBERSHIPS_TABLE_ACTIONS_HEADER, )} @@ -126,7 +129,11 @@ const ItemMembershipsTable = ({ {row.member.email} )} - + {row.member.name} From 56f417cde5a623da997369e72efb32ab38d6e488 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 6 Aug 2024 14:07:04 +0200 Subject: [PATCH 2/2] fix: remove duplicate mode button --- src/components/item/FolderContent.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/item/FolderContent.tsx b/src/components/item/FolderContent.tsx index 1e7371587..a50ffc5e6 100644 --- a/src/components/item/FolderContent.tsx +++ b/src/components/item/FolderContent.tsx @@ -58,12 +58,9 @@ const Content = ({ item, searchText, items, sortBy }: Props) => { if (mode === ItemLayoutMode.Map) { return ( - <> - - - + - + ); }