feat: updated condition select widget (#9242)

This commit is contained in:
Bhavin K 2021-11-19 15:24:46 +05:30 committed by GitHub
parent dc510161d9
commit 2e2ffc9361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ function* getAllSelectableChildren() {
const canvasId: string = yield call(getLastSelectedCanvas);
let allChildren: string[] = [];
const selectGrandChildren: boolean = lastSelectedWidget
? widgetLastSelected.type === WidgetTypes.LIST_WIDGET
? widgetLastSelected && widgetLastSelected.type === WidgetTypes.LIST_WIDGET
: false;
if (selectGrandChildren) {
allChildren = yield call(