diff --git a/src/components/Contacts/ContactListTableDesktop.jsx b/src/components/Contacts/ContactListTableDesktop.jsx index b17ee0c5..7f63053d 100644 --- a/src/components/Contacts/ContactListTableDesktop.jsx +++ b/src/components/Contacts/ContactListTableDesktop.jsx @@ -74,11 +74,6 @@ const ContactListTableDesktop = ({ }, { field: 'webId', - headerName: 'Web ID', - minWidth: 150, - flex: 1, - headerAlign: 'center', - align: 'center', renderCell: (contact) => ( {contact.id} - ) + ), + headerName: 'Web ID', + minWidth: 150, + flex: 1, + headerAlign: 'center', + align: 'center' }, { field: 'Profile', diff --git a/src/components/Contacts/ContactListTableMobile.jsx b/src/components/Contacts/ContactListTableMobile.jsx index 48ece5b3..1f5478a6 100644 --- a/src/components/Contacts/ContactListTableMobile.jsx +++ b/src/components/Contacts/ContactListTableMobile.jsx @@ -185,6 +185,18 @@ const ContactListTableMobile = ({ 'aria-labelledby': 'actions-icon-button' }} > + + saveToClipboard(contact.webId, 'webId copied to clipboard', addNotification), + contact + )} + startIcon={} + sx={iconStyling} + > + Copy WebId + Message - {/* TODO: Keep copy function? */} - {/* If so, also add to Desktop table? */} - {/* Maybe without any icon. Simply click on the web ID and it will copy? */} - - saveToClipboard(contact.webId, 'webId copied to clipboard', addNotification), - contact - )} - startIcon={} - sx={iconStyling} - > - Copy WebId - { }} IconComponent={KeyboardArrowDownIcon} > - {' '} Sort by: