@@ -349,13 +349,25 @@ export class DataLayerSetting extends Component {
349349 />
350350
351351 </ PanelRow >
352- { app != 'csv' && allMeasures && allMeasures . map ( m => < PanelRow > < p
353- style = { {
354- "margin-top" : "calc(8px)" ,
355- "font-size" : "12px" ,
356- "font-style" : "normal" ,
357- "color" : "rgb(117, 117, 117)"
358- } } > { "{" + m . value + "}" } </ p > </ PanelRow > ) }
352+ < PanelRow >
353+ < div style = { { display : "flex" , flexDirection : "column" } } >
354+ < strong > { __ ( "You can use the following variables" , "dg" ) } </ strong >
355+ { app != 'csv' && allMeasures && allMeasures . map ( m => < div style = { {
356+ "margin-top" : "calc(8px)" ,
357+ "font-size" : "12px" ,
358+ "font-style" : "normal" ,
359+ "color" : "rgb(117, 117, 117)"
360+ } } >
361+ { "{" + m . value + "}" } </ div > ) }
362+
363+ { jsonFields . map ( m => < div style = { {
364+ "margin-top" : "calc(8px)" ,
365+ "font-size" : "12px" ,
366+ "font-style" : "normal" ,
367+ "color" : "rgb(117, 117, 117)"
368+ } } > { "{" + m + "}" } </ div > ) }
369+ </ div >
370+ </ PanelRow >
359371 </ PanelBody > ,
360372 < React . Fragment >
361373 { app != 'csv' && < Measures
0 commit comments