Skip to content

Commit

Permalink
Fix types and i18n issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaindik committed Dec 13, 2024
1 parent 354775d commit 5c51a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const prepareAboutSectionListItems = (
title: (
<span data-test-subj="buildingBlockPropertyTitle">{i18n.BUILDING_BLOCK_FIELD_LABEL}</span>
),
description: <BuildingBlock isBuildingBlockEnabled={true} />,
description: <BuildingBlock type="default" />,
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as i18n from './translations';
export function EmptyFieldValuePlaceholder() {
return (
<EuiText size="s" color="subdued">
{i18n.EMPTY_FIELD_VALUE_PLACEHOLDER}
{`<${i18n.EMPTY_FIELD_VALUE_PLACEHOLDER}>`}
</EuiText>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ import { i18n } from '@kbn/i18n';
export const EMPTY_FIELD_VALUE_PLACEHOLDER = i18n.translate(
'xpack.securitySolution.detectionEngine.rules.upgradeRules.emptyFieldValuePlaceholder',
{
defaultMessage: '<Field value is empty>',
defaultMessage: 'Field value is empty',
}
);

0 comments on commit 5c51a73

Please sign in to comment.