diff --git a/packages/forklift-console-plugin/src/modules/Plans/views/details/components/PlanPageHeadings.tsx b/packages/forklift-console-plugin/src/modules/Plans/views/details/components/PlanPageHeadings.tsx
index 9f1f399d4..07a966258 100644
--- a/packages/forklift-console-plugin/src/modules/Plans/views/details/components/PlanPageHeadings.tsx
+++ b/packages/forklift-console-plugin/src/modules/Plans/views/details/components/PlanPageHeadings.tsx
@@ -79,27 +79,35 @@ export const PlanPageHeadings: React.FC<{ name: string; namespace: string }> = (
return isPreserveStaticIPs && isMapToPod;
};
- if (criticalCondition) {
- alerts.push(
- ,
- );
- } else if (preserveIpsWithPodMapCondition()) {
- alerts.push(
- ,
- );
- }
+ const handleAlerts = () => {
+ // alerts are not relevant to display if plan was completed successfully
+ if (planStatus === 'Succeeded') return;
+
+ if (criticalCondition) {
+ alerts.push(
+ ,
+ );
+ return;
+ }
+
+ if (preserveIpsWithPodMapCondition()) {
+ alerts.push(
+ ,
+ );
+ }
+ };
const onClick = () => {
showModal(
@@ -123,6 +131,8 @@ export const PlanPageHeadings: React.FC<{ name: string; namespace: string }> = (
);
+ handleAlerts();
+
return (
<>