mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
disable rollback button when application type is not applicatiom form
This commit is contained in:
parent
b43fb6b5e6
commit
b2da6101b6
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@
|
||||||
class="btn btn-sm btn-primary"
|
class="btn btn-sm btn-primary"
|
||||||
style="margin-left: 0; margin-bottom: 15px;"
|
style="margin-left: 0; margin-bottom: 15px;"
|
||||||
ng-click="ctrl.rollbackApplication()"
|
ng-click="ctrl.rollbackApplication()"
|
||||||
ng-disabled="ctrl.application.Revisions.length < 2"
|
ng-disabled="ctrl.application.Revisions.length < 2 || ctrl.state.appType !== ctrl.KubernetesDeploymentTypes.APPLICATION_FORM"
|
||||||
>
|
>
|
||||||
<i class="fas fa-history space-right" aria-hidden="true"></i>Rollback to previous configuration
|
<i class="fas fa-history space-right" aria-hidden="true"></i>Rollback to previous configuration
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue