mirror of https://github.com/portainer/portainer
fix(container):disable Duplicate/Edit button when the container is portainer (#6223)
parent
9f5ac154aa
commit
a78d8a4ff1
|
@ -51,7 +51,7 @@
|
|||
<span ng-hide="state.recreateContainerInProgress"><i class="fa fa-sync space-right" aria-hidden="true"></i>Recreate</span>
|
||||
<span ng-show="state.recreateContainerInProgress">Recreation in progress...</span>
|
||||
</button>
|
||||
<a class="btn btn-primary btn-sm" type="button" ui-sref="docker.containers.new({ from: container.Id, nodeName: nodeName })"
|
||||
<a class="btn btn-primary btn-sm" type="button" ui-sref="docker.containers.new({ from: container.Id, nodeName: nodeName })" ng-disabled="container.IsPortainer"
|
||||
><i class="fa fa-copy space-right" aria-hidden="true"></i>Duplicate/Edit</a
|
||||
>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue