mirror of https://github.com/portainer/portainer
feat(stacks): hide redeploy for orphaned stacks [EE-5784] (#10841)
parent
a58b4f479b
commit
a305fe9e4c
|
@ -109,24 +109,27 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<!-- !associate -->
|
<!-- !associate -->
|
||||||
<stack-redeploy-git-form
|
|
||||||
ng-if="stack.GitConfig && !stack.FromAppTemplate && !state.actionInProgress"
|
<div ng-if="!orphaned">
|
||||||
model="stack.GitConfig"
|
<stack-redeploy-git-form
|
||||||
stack="stack"
|
ng-if="stack.GitConfig && !stack.FromAppTemplate && !state.actionInProgress"
|
||||||
authorization="PortainerStackUpdate"
|
model="stack.GitConfig"
|
||||||
endpoint="applicationState.endpoint"
|
stack="stack"
|
||||||
>
|
authorization="PortainerStackUpdate"
|
||||||
</stack-redeploy-git-form>
|
endpoint="applicationState.endpoint"
|
||||||
<stack-duplication-form
|
>
|
||||||
ng-if="regular && endpoints.length > 0"
|
</stack-redeploy-git-form>
|
||||||
endpoints="endpoints"
|
<stack-duplication-form
|
||||||
groups="groups"
|
ng-if="regular && endpoints.length > 0"
|
||||||
current-endpoint-id="endpoint.Id"
|
endpoints="endpoints"
|
||||||
on-duplicate="duplicateStack(name, endpointId)"
|
groups="groups"
|
||||||
on-migrate="migrateStack(name, endpointId)"
|
current-endpoint-id="endpoint.Id"
|
||||||
yaml-error="state.yamlError"
|
on-duplicate="duplicateStack(name, endpointId)"
|
||||||
>
|
on-migrate="migrateStack(name, endpointId)"
|
||||||
</stack-duplication-form>
|
yaml-error="state.yamlError"
|
||||||
|
>
|
||||||
|
</stack-duplication-form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</uib-tab>
|
</uib-tab>
|
||||||
<!-- !tab-info -->
|
<!-- !tab-info -->
|
||||||
|
|
Loading…
Reference in New Issue