You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add modalClosed to onConfirm function
* Reset delete confirmation in delete job modal
* Add additional condition to ensure active router versions are displayed before current ones
* Make modalClosed unset all ensembler status
* Make modal display tables for both active and current router versions
* Refactor messages to make them reflect how router versions are displayed
* Refactor deletion messages for ensembling jobs to reflect singularity/plurality
* Add additional conditional handling to display ensembler deletion messages
* Fix inconsistent pop up message
* Reinstate terminate/delete button but disable it when ensembling job is terminating
You cannot delete this ensembler because it is associated with a router version that is currently being used by a router
84
-
<br/><br/> If you still wish to delete this ensembler, please <b>Deploy</b> another version on this router.
85
-
</div>
86
83
) : (
87
84
<div>
88
-
You cannot delete this ensembler because there are <b>Active Router Versions</b> or <b>Ensembling Jobs</b> that use this ensembler.
89
-
<br/><br/> If you still wish to delete this ensembler, please <b>Undeploy</b> router versions and <b>Terminate</b> ensembling jobs that use this ensembler.
90
-
</div>
85
+
You cannot delete this ensembler because it is:
86
+
<ul>
87
+
{ensemblerUsedByCurrentRouterVersion&&
88
+
<li>associated with one or more router versions <b>currently</b> used by one or more routers
<p>Deleting this Ensembler will also delete {results.totalInactiveCount}<b>Failed</b> or <b>Undeployed</b> Router Versions that use this Ensembler </p>
135
+
This Ensembler is used by {currentRouterVersion.data.length}
0 commit comments