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