Skip to content

Commit

Permalink
Merge pull request #23358 from ginsuma/fix/22997
Browse files Browse the repository at this point in the history
Fix shouldUseFullTitle
  • Loading branch information
arosiclair authored Jul 24, 2023
2 parents 4362a88 + ee23ba8 commit 33ed167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ReportDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function ReportDetailsPage(props) {
const policy = useMemo(() => props.policies[`${ONYXKEYS.COLLECTION.POLICY}${props.report.policyID}`], [props.policies, props.report.policyID]);
const isPolicyAdmin = useMemo(() => PolicyUtils.isPolicyAdmin(policy), [policy]);
const shouldDisableSettings = useMemo(() => ReportUtils.shouldDisableSettings(props.report), [props.report]);
const shouldUseFullTitle = shouldDisableSettings;
const shouldUseFullTitle = !shouldDisableSettings;
const isThread = useMemo(() => ReportUtils.isChatThread(props.report), [props.report]);
const isUserCreatedPolicyRoom = useMemo(() => ReportUtils.isUserCreatedPolicyRoom(props.report), [props.report]);
const isArchivedRoom = useMemo(() => ReportUtils.isArchivedRoom(props.report), [props.report]);
Expand Down

0 comments on commit 33ed167

Please sign in to comment.