From 49b526a2c6ae54ebeb3a0eba237897f86b3dedf5 Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Tue, 21 Jan 2025 12:50:04 +0530 Subject: [PATCH 1/2] fix: Workspace - Default label tooltip content is truncated when language is Spanish. Signed-off-by: krishna2323 --- src/pages/workspace/WorkspacesListRow.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index 3c270d708e11..8da14d79c14d 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -149,6 +149,7 @@ function WorkspacesListRow({ Date: Tue, 21 Jan 2025 13:03:38 +0530 Subject: [PATCH 2/2] fix ESLint. Signed-off-by: krishna2323 --- src/pages/workspace/WorkspacesListRow.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index 8da14d79c14d..30ce3d221175 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -18,7 +18,7 @@ import useLocalize from '@hooks/useLocalize'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; -import * as PersonalDetailsUtils from '@libs/PersonalDetailsUtils'; +import {getDisplayNameOrDefault, getPersonalDetailsByIDs} from '@libs/PersonalDetailsUtils'; import {getUserFriendlyWorkspaceType} from '@libs/PolicyUtils'; import type {AvatarSource} from '@libs/UserUtils'; import type {AnchorPosition} from '@styles/index'; @@ -120,7 +120,7 @@ function WorkspacesListRow({ const threeDotsMenuContainerRef = useRef(null); const {shouldUseNarrowLayout} = useResponsiveLayout(); - const ownerDetails = ownerAccountID && PersonalDetailsUtils.getPersonalDetailsByIDs([ownerAccountID], currentUserPersonalDetails.accountID).at(0); + const ownerDetails = ownerAccountID && getPersonalDetailsByIDs([ownerAccountID], currentUserPersonalDetails.accountID).at(0); if (layoutWidth === CONST.LAYOUT_WIDTH.NONE) { // To prevent layout from jumping or rendering for a split second, when @@ -226,7 +226,7 @@ function WorkspacesListRow({