Merge pull request #10687 from appsmithorg/hotfix/list-widget-broken

fix: Fix crash on broken list widget (#10670)
This commit is contained in:
Arpit Mohan 2022-01-27 16:31:49 +05:30 committed by GitHub
commit 434e21bd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,7 @@ class ListWidget extends BaseWidget<ListWidgetProps<WidgetProps>, WidgetState> {
props,
PATH_TO_ALL_WIDGETS_IN_LIST_WIDGET,
);
if (!listWidgetChildren) return;
listWidgetChildren.map((child) => {
privateWidgets[child.widgetName] = true;
});