diff --git a/src/containers/execution-environment-detail/base.tsx b/src/containers/execution-environment-detail/base.tsx index ebf4c032fc..8041521b80 100644 --- a/src/containers/execution-environment-detail/base.tsx +++ b/src/containers/execution-environment-detail/base.tsx @@ -13,6 +13,7 @@ import { type AlertType, DeleteExecutionEnvironmentModal, ExecutionEnvironmentHeader, + ExternalLink, LoadingPage, Main, RepositoryForm, @@ -26,6 +27,7 @@ import { RepoSigningUtils, type RouteProps, canSignEE, + controllerURL, taskAlert, waitForTask, } from 'src/utilities'; @@ -122,12 +124,15 @@ export function withContainerRepo(WrappedComponent) { ), { - // TODO image: this.state.repo.name, - }} - > - {t`Use in Controller`} - , + component={ + + {t`Use in Controller`} + + } + />, hasPermission('container.delete_containerrepository') && ( { - // TODO digest: image.digest, - // image: this.props.containerRepository.name, - // tag: image.tags[0], - }} - > - {t`Use in Controller`} - , + component={ + + {t`Use in Controller`} + + } + />, hasPermission('container.delete_containerrepository') && ( { ), { - // TODO image: item.name, - }} - > - {t`Use in Controller`} - , + component={ + + {t`Use in Controller`} + + } + />, hasPermission('container.delete_containerrepository') && (