fix(native filter): undefined layout type on filterInScope (#30164)
This commit is contained in:
parent
de3de541e7
commit
e02b18c63c
|
|
@ -84,7 +84,7 @@ function useSelectChartTabParents() {
|
|||
layoutItem => layoutItem.meta?.chartId === chartId,
|
||||
);
|
||||
return chartLayoutItem?.parents.filter(
|
||||
(parent: string) => dashboardLayout[parent].type === TAB_TYPE,
|
||||
(parent: string) => dashboardLayout[parent]?.type === TAB_TYPE,
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue