+
{operationDefinitionMap[key].documentation?.description ? (
-
- {operationDefinitionMap[key].documentation!.description}
-
+
) : null}
>
),
@@ -116,13 +109,12 @@ function FormulaHelp({
label: i18n.translate('xpack.lens.formulaDocumentation.columnCalculationSection', {
defaultMessage: 'Column-wise calculation',
}),
- description: (
-
- {i18n.translate('xpack.lens.formulaDocumentation.columnCalculationSectionDescription', {
- defaultMessage:
- 'These functions will be executed for reach row of the resulting table, using data from cells from other rows as well as the current value.',
- })}
-
+ description: i18n.translate(
+ 'xpack.lens.formulaDocumentation.columnCalculationSectionDescription',
+ {
+ defaultMessage:
+ 'These functions will be executed for reach row of the resulting table, using data from cells from other rows as well as the current value.',
+ }
),
items: [],
});
@@ -140,15 +132,12 @@ function FormulaHelp({
label: key,
description: (
<>
-
-
+
{operationDefinitionMap[key].documentation?.description ? (
-
- {operationDefinitionMap[key].documentation!.description}
-
+
) : null}
>
),
@@ -163,14 +152,10 @@ function FormulaHelp({
label: i18n.translate('xpack.lens.formulaDocumentation.mathSection', {
defaultMessage: 'Math',
}),
- description: (
-
- {i18n.translate('xpack.lens.formulaDocumentation.mathSectionDescription', {
- defaultMessage:
- 'These functions will be executed for reach row of the resulting table using single values from the same row calculated using other functions.',
- })}
-
- ),
+ description: i18n.translate('xpack.lens.formulaDocumentation.mathSectionDescription', {
+ defaultMessage:
+ 'These functions will be executed for reach row of the resulting table using single values from the same row calculated using other functions.',
+ }),
items: [],
});
@@ -194,10 +179,9 @@ function FormulaHelp({
label,
description: (
<>
-
-