mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(native-filters): show overridden chart name on scoping tree (#15038)
This commit is contained in:
parent
0e07a5ca03
commit
efd7007701
@ -45,7 +45,11 @@ export const buildTree = (
|
||||
) {
|
||||
const currentTreeItem = {
|
||||
key: node.id,
|
||||
title: node.meta.sliceName || node.meta.text || node.id.toString(),
|
||||
title:
|
||||
node.meta.sliceNameOverride ||
|
||||
node.meta.sliceName ||
|
||||
node.meta.text ||
|
||||
node.id.toString(),
|
||||
children: [],
|
||||
};
|
||||
treeItem.children.push(currentTreeItem);
|
||||
|
@ -93,6 +93,7 @@ export type LayoutItem = {
|
||||
chartId: number;
|
||||
height: number;
|
||||
sliceName?: string;
|
||||
sliceNameOverride?: string;
|
||||
text?: string;
|
||||
uuid: string;
|
||||
width: number;
|
||||
|
Loading…
Reference in New Issue
Block a user