Skip to content

Commit

Permalink
add dots to disabled button messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtj committed Nov 29, 2024
1 parent a16acf2 commit 33d5e29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ export const LogRateAnalysisAttachmentsMenu = ({
const caseAttachmentTooltipContent = useMemo(() => {
if (!showLogRateAnalysisResults) {
return i18n.translate('xpack.aiops.logRateAnalysis.attachToCaseTooltipNoAnalysis', {
defaultMessage: 'Run the analysis first to add results to a case',
defaultMessage: 'Run the analysis first to add results to a case.',
});
}
if (significantItems.length === 0) {
return i18n.translate('xpack.aiops.logRateAnalysis.attachToCaseTooltipNoResults', {
defaultMessage: 'Cannot add to case because the analysis did not produce any results',
defaultMessage: 'Cannot add to case because the analysis did not produce any results.',
});
}
}, [showLogRateAnalysisResults, significantItems.length]);
Expand Down

0 comments on commit 33d5e29

Please sign in to comment.