Fix bug where the user cannot delete a resource when no workflow is using it. The cause is because the confirm dialog never pops up because resource operators.status is stuck at initial. This is due to the fact handleLoadResourceOperators is never dispatched. To fix this, I dispatch handleLoadResourceOperators in the resource details page.
--
Updated to V2 route.
Tested by successfully deleting MariaDB resource.
Fix bug where the user cannot delete a resource when no workflow is using it. The cause is because the confirm dialog never pops up because resource operators.status is stuck at initial. This is due to the fact
handleLoadResourceOperators
is never dispatched. To fix this, I dispatchhandleLoadResourceOperators
in the resource details page.--
Updated to V2 route. Tested by successfully deleting MariaDB resource.