mirror of https://github.com/rancher/ui.git
Merge pull request #3050 from loganhz/hpa
Disable add HPA button if not supported
This commit is contained in:
commit
ecfd1389f6
|
|
@ -10,7 +10,7 @@
|
|||
"authenticated.project.hpa.new"
|
||||
scope.currentProject.id
|
||||
class="btn btn-sm bg-primary"
|
||||
disabled=(rbac-prevents resource="horizontalpodautoscaler" scope="project" permission="create")
|
||||
disabled=(or (not model.supported) (rbac-prevents resource="horizontalpodautoscaler" scope="project" permission="create"))
|
||||
}}
|
||||
{{t "nav.containers.addHpa"}}
|
||||
{{/link-to}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue