diff --git a/src/components/GuestWorkspace/GuestWorkspaceTable.jsx b/src/components/GuestWorkspace/GuestWorkspaceTable.jsx index 817968e8..5358fa53 100644 --- a/src/components/GuestWorkspace/GuestWorkspaceTable.jsx +++ b/src/components/GuestWorkspace/GuestWorkspaceTable.jsx @@ -259,6 +259,8 @@ const GuestWorkspaceTable = (props) => { const data = guestWorkspaceData && guestWorkspaceData.length > 0 ? pageSearch().map((el, i) => { + const isAuthenticated = + el.is_autheticated || authenticatedWorkspaces.includes(el.id); return [ el.id, el.workspace_name, @@ -271,13 +273,15 @@ const GuestWorkspaceTable = (props) => { handleViewWorkspace(el.id) : () => handleOpen(el.workspace_name, el.id) } @@ -395,4 +399,4 @@ const GuestWorkspaceTable = (props) => { ); }; -export default GuestWorkspaceTable; \ No newline at end of file +export default GuestWorkspaceTable;