Remove double error alerts in secrets manager

What does this MR do and why?

This removes the double error alert that shows up in the Secrets manager when loading the secret detail page for a secret that does not exist (i.e. the secret name provided is invalid). The Secrets Manager is not yet deployed in production, so this will be labeled as typefeature.

References

Implements #545278 (closed).

Screenshots or screen recordings

Before After
Screenshot_2025-06-17_at_11.58.58 Screenshot_2025-06-17_at_12.02.06

How to set up and validate locally

  1. Upload an Ultimate license and follow the instructions to enable the Secrets Manager.
  2. Go to /path-to-project/-/secrets/SECRET_NAME_FOR_SECRET_THAT_DOESNT_EXIST/details
  3. Verify that only one error alert message shows up.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading