Skip to content

Commit

Permalink
Merge pull request #52914 from callstack-internal/Workspace-name-is-d…
Browse files Browse the repository at this point in the history
…uplicate-on-report-header-for-submitter

IOU - Workspace name is duplicate on report header for submitter
  • Loading branch information
techievivek authored Dec 18, 2024
2 parents c45f834 + ee7c1f5 commit f6bba1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ParentNavigationSubtitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ function ParentNavigationSubtitle({parentNavigationSubtitleData, parentReportAct
<Text style={[styles.optionAlternateText, styles.textLabelSupporting, styles.link]}>{reportName}</Text>
</>
)}
{!!workspaceName && <Text style={[styles.optionAlternateText, styles.textLabelSupporting]}>{` ${translate('threads.in')} ${workspaceName}`}</Text>}
{!!workspaceName && workspaceName !== reportName && (
<Text style={[styles.optionAlternateText, styles.textLabelSupporting]}>{` ${translate('threads.in')} ${workspaceName}`}</Text>
)}
</Text>
</PressableWithoutFeedback>
);
Expand Down

0 comments on commit f6bba1f

Please sign in to comment.