fix(native-filters): show default text on filter scoping tree (#15351)
This commit is contained in:
parent
f0b64190b5
commit
b3cdff4995
|
|
@ -129,7 +129,7 @@ export const dashboardLayoutWithTabs = {
|
|||
children: ['ROW_ID2'],
|
||||
parents: ['ROOT_ID', 'TABS_ID'],
|
||||
meta: {
|
||||
text: 'tab2',
|
||||
text: '',
|
||||
defaultText: 'tab2',
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ export const buildTree = (
|
|||
node.meta.sliceNameOverride ||
|
||||
node.meta.sliceName ||
|
||||
node.meta.text ||
|
||||
node.meta.defaultText ||
|
||||
node.id.toString(),
|
||||
initiallyExcludedCharts.includes(node.meta?.chartId),
|
||||
t(
|
||||
|
|
|
|||
|
|
@ -105,7 +105,9 @@ export type LayoutItem = {
|
|||
id: string;
|
||||
meta: {
|
||||
chartId: number;
|
||||
defaultText?: string;
|
||||
height: number;
|
||||
placeholder?: string;
|
||||
sliceName?: string;
|
||||
sliceNameOverride?: string;
|
||||
text?: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue