Fix "Missing toast message in work item global creation flow"

What does this MR do and why?

Fix toast visibility bug. When creating an epic from the main menu via the + icon, after the modal closes the confirmation toast Epic created wasn't appearing.

Screenshots or screen recordings

Screen_Recording_2025-05-07_at_2.56.19_PM

How to set up and validate locally

With the flag work_item_planning_view enabled AND disabled

  1. Open a group page (from any view: Epics, group home...)
  2. Go to the + menu
  3. Click New epic or New work item
  4. Add data
  5. Click to create
  6. Expect that after the modal closes, the Epic created toast appears and then closes after 10s

Expect that creating a new epic from the New epic button on the Epics page had no changes and still shows the toast.

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.

Related to #524901 (closed)

Edited by Fernanda Toledo

Merge request reports

Loading