Skip to content

Commit

Permalink
Merge pull request #55521 from nkdengineer/fix/53764
Browse files Browse the repository at this point in the history
[CP Staging] remove toString method

(cherry picked from commit 107a6fa)

(CP triggered by Beamanator)
  • Loading branch information
Beamanator authored and OSBotify committed Jan 21, 2025
1 parent bcf3e64 commit abb7400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/HeaderView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function HeaderView({report, parentReportAction, onNavigationMenuButtonClicked,
return true;
};

const shouldShowGuideBooking = !!account && report?.reportID.toString() === account?.adminsRoomReportID?.toString() && !!account?.guideDetails?.calendarLink;
const shouldShowGuideBooking = !!account && report?.reportID === account?.adminsRoomReportID && !!account?.guideDetails?.calendarLink;

const join = checkIfActionIsAllowed(() => joinRoom(report));

Expand Down

0 comments on commit abb7400

Please sign in to comment.