Clear modal notifs when opening modal#1051
Conversation
When opening a modal, modal notifications were not properly cleared. This would lead to notifications being displayed in the wrong modals, i.e. "This event cannot be edited due to an active workflow" would appear on a create series modal. This patch should fix that.
|
Use Run test server using develop.opencast.org as backend: Specify a different backend like stable.opencast.org: It may take a few seconds for the interface to spin up. |
|
This pull request is deployed at test.admin-interface.opencast.org/1051/2025-01-31_14-08-50/ . |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
owi92
left a comment
There was a problem hiding this comment.
This does what is described. Since #1021 is included here, my comment from there regarding the Tobira notif applies to this as well.
I suppose that other PR can be closed. It's up to you whether you want to remove the empty then()s here as well.
When opening a modal, modal notifications were not properly cleared. This would lead to notifications being displayed in the wrong modals, i.e. "This event cannot be edited due to an active workflow" would appear on a create series modal. This patch should fix that.
Includes #1021.
How to test this
Can be tested as usual. Trigger a warning in one modal and check if it appears in different modals.