From 558674ecb34214277595827ea9f1ab526852a4f6 Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Tue, 31 Oct 2023 12:07:41 -0400 Subject: [PATCH] fix TypeError --- .../parts/AddRespondersPopup/AddRespondersPopup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-plugin/src/containers/AddResponders/parts/AddRespondersPopup/AddRespondersPopup.tsx b/grafana-plugin/src/containers/AddResponders/parts/AddRespondersPopup/AddRespondersPopup.tsx index 3aa328dd7e..9be2456d48 100644 --- a/grafana-plugin/src/containers/AddResponders/parts/AddRespondersPopup/AddRespondersPopup.tsx +++ b/grafana-plugin/src/containers/AddResponders/parts/AddRespondersPopup/AddRespondersPopup.tsx @@ -170,7 +170,7 @@ const AddRespondersPopup = observer( {name || username} - {teams.length > 0 && {teams.map(({ name }) => name).join(', ')}} + {teams?.length > 0 && {teams.map(({ name }) => name).join(', ')}} );