From db43f03a294cbe4d85918f9425b4b14e044a18ce Mon Sep 17 00:00:00 2001 From: "truph01 (via MelvinBot)" Date: Mon, 16 Mar 2026 11:22:38 +0000 Subject: [PATCH] Add exactlyMatch to workspace description mention context Non-existing room mentions in workspace descriptions showed a green highlight because the MentionReportContext was missing exactlyMatch: true, causing all mentions to be highlighted regardless of whether the room exists. This matches the pattern used by PureReportActionItem, ReportDetailsPage, and MoneyRequestConfirmationListFooter. Co-authored-by: truph01 --- src/pages/workspace/WorkspaceOverviewPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspaceOverviewPage.tsx b/src/pages/workspace/WorkspaceOverviewPage.tsx index 166e563d51710..a08c02f375d53 100644 --- a/src/pages/workspace/WorkspaceOverviewPage.tsx +++ b/src/pages/workspace/WorkspaceOverviewPage.tsx @@ -194,7 +194,7 @@ function WorkspaceOverviewPage({policyDraft, policy: policyProp, route}: Workspa const [isDeleteWorkspaceErrorModalOpen, setIsDeleteWorkspaceErrorModalOpen] = useState(false); const policyLastErrorMessage = getLatestErrorMessage(policy); - const mentionReportContextValue = {policyID: policy?.id, currentReportID: undefined}; + const mentionReportContextValue = {policyID: policy?.id, currentReportID: undefined, exactlyMatch: true}; const fetchPolicyData = () => { if (policyDraft?.id) {