Skip to content

Commit

Permalink
update cases attachment removal message
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtj committed Nov 27, 2024
1 parent 114c9ce commit f126a00
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions x-pack/plugins/aiops/public/cases/register_cases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ export function registerCases(
};
}),
}),
getAttachmentRemovalObject: () => ({
event: (
<FormattedMessage
id="xpack.aiops.changePointDetection.cases.attachmentRemovalEvent"
defaultMessage="removed change point chart"
/>
),
}),
});

const LogPatternAttachmentComponent = getPatternAnalysisComponent(coreStart, pluginStart);
Expand All @@ -73,6 +81,14 @@ export function registerCases(
return { default: initComponent(pluginStart.fieldFormats, LogPatternAttachmentComponent) };
}),
}),
getAttachmentRemovalObject: () => ({
event: (
<FormattedMessage
id="xpack.aiops.logPatternAnalysis.cases.attachmentRemovalEvent"
defaultMessage="removed log pattern analysis"
/>
),
}),
});

const LogRateAnalysisEmbeddableWrapperComponent = getLogRateAnalysisEmbeddableWrapperComponent(
Expand Down Expand Up @@ -105,5 +121,13 @@ export function registerCases(
};
}),
}),
getAttachmentRemovalObject: () => ({
event: (
<FormattedMessage
id="xpack.aiops.logRateAnalysis.cases.attachmentRemovalEvent"
defaultMessage="removed log rate analysis"
/>
),
}),
});
}

0 comments on commit f126a00

Please sign in to comment.