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:
@@ -215,7 +215,7 @@ export const EntitySplunkOnCallCard = () => {
|
||||
team: Team | undefined;
|
||||
usersHashMap: any;
|
||||
}) => {
|
||||
const teamName = team && team.name ? team.name : '';
|
||||
const teamName = team?.name ?? '';
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user