diff --git a/src/pages/home/HeaderView.tsx b/src/pages/home/HeaderView.tsx index 55d29077141d..02dffe751beb 100644 --- a/src/pages/home/HeaderView.tsx +++ b/src/pages/home/HeaderView.tsx @@ -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));