From 2cabad61489afe1f2530fede067b17f5b0cedbd8 Mon Sep 17 00:00:00 2001 From: Deepa Ravi Date: Fri, 20 Oct 2023 13:02:57 -0700 Subject: [PATCH] chore: Prevent who-is-oncall tab from erroring out when ownerTeam info is empty --- src/components/OnCallList/OnCallList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/OnCallList/OnCallList.tsx b/src/components/OnCallList/OnCallList.tsx index f097d43..4d1fc93 100644 --- a/src/components/OnCallList/OnCallList.tsx +++ b/src/components/OnCallList/OnCallList.tsx @@ -97,7 +97,7 @@ export const OnCallForScheduleCard = ({ schedule, responderFormatter }: { schedu
{schedule.enabled ? : }
- {schedule.ownerTeam.name} + {schedule.ownerTeam ? schedule.ownerTeam.name : ""} );