From bd7776723af9e392445d655f0eef46e7124c05bd Mon Sep 17 00:00:00 2001 From: Jeremy Myers Date: Fri, 20 Oct 2023 15:01:25 -0400 Subject: [PATCH] Remove date and email from sharedWith list --- .../src/lib/Components/Detail/UserDatasetDetail.jsx | 7 +++---- .../src/lib/Components/Sharing/UserDatasetSharingModal.jsx | 4 +--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/libs/user-datasets/src/lib/Components/Detail/UserDatasetDetail.jsx b/packages/libs/user-datasets/src/lib/Components/Detail/UserDatasetDetail.jsx index acdbfa6f5d..deec39f1b4 100644 --- a/packages/libs/user-datasets/src/lib/Components/Detail/UserDatasetDetail.jsx +++ b/packages/libs/user-datasets/src/lib/Components/Detail/UserDatasetDetail.jsx @@ -216,10 +216,9 @@ class UserDatasetDetail extends React.Component { attribute: 'Shared with', value: ( diff --git a/packages/libs/user-datasets/src/lib/Components/Sharing/UserDatasetSharingModal.jsx b/packages/libs/user-datasets/src/lib/Components/Sharing/UserDatasetSharingModal.jsx index ecf3fad558..7a9a373cef 100644 --- a/packages/libs/user-datasets/src/lib/Components/Sharing/UserDatasetSharingModal.jsx +++ b/packages/libs/user-datasets/src/lib/Components/Sharing/UserDatasetSharingModal.jsx @@ -9,7 +9,6 @@ import { import { WdkDependenciesContext } from '@veupathdb/wdk-client/lib/Hooks/WdkDependenciesEffect'; import { isUserDatasetsCompatibleWdkService } from '../../Service/UserDatasetWrappers'; -import { DateTime } from '../DateTime'; import './UserDatasetSharingModal.scss'; @@ -218,11 +217,10 @@ class UserDatasetSharingModal extends React.Component { } renderShareItem(share, index, userDataset) { - const { user, time, userDisplayName } = share; + const { user, userDisplayName } = share; return (
Shared with {userDisplayName}{' '} -