Update plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.tsx

Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Mike Ball <mikedball@gmail.com>
This commit is contained in:
Mike Ball
2022-02-07 10:06:30 -05:00
parent 9fa811ddbb
commit 1514d8a313
@@ -215,7 +215,7 @@ export const EntitySplunkOnCallCard = () => {
team: Team | undefined;
usersHashMap: any;
}) => {
const teamName = team && team.name ? team.name : '';
const teamName = team?.name ?? '';
return (
<>