From 628f3fd3dedd2c4e5e2ad4e66a803d0465e1012f Mon Sep 17 00:00:00 2001 From: Sean Li Date: Fri, 29 Mar 2024 07:30:55 -0700 Subject: [PATCH] check for undefined association (#1658) Signed-off-by: Sean Li --- .../associated_objects/modules/associated_objects_table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/datasources/components/manage/associated_objects/modules/associated_objects_table.tsx b/public/components/datasources/components/manage/associated_objects/modules/associated_objects_table.tsx index f559135da0..3371797fe7 100644 --- a/public/components/datasources/components/manage/associated_objects/modules/associated_objects_table.tsx +++ b/public/components/datasources/components/manage/associated_objects/modules/associated_objects_table.tsx @@ -125,7 +125,7 @@ export const AssociatedObjectsTable = (props: AssociatedObjectsTableProps) => { View all {accelerations.length} ); - } else { + } else if (accelerations) { return (