edit namespace property in handlebar file to use computed property in component
This commit is contained in:
parent
e6b579ab8f
commit
0fba0ce778
|
@ -8,14 +8,14 @@
|
|||
{{#if this.taskGroup.scaling}}
|
||||
<div
|
||||
data-test-scale-controls
|
||||
class="button-bar is-shadowless is-text bumper-left {{if (or this.runningDeployment (cannot "scale job" namespace=this.taskGroup.job.namespace.name)) "tooltip multiline"}}"
|
||||
class="button-bar is-shadowless is-text bumper-left {{if (or this.runningDeployment (cannot "scale job" namespace=this.namespace)) "tooltip multiline"}}"
|
||||
aria-label={{this.tooltipText}}>
|
||||
<button
|
||||
data-test-scale="decrement"
|
||||
role="button"
|
||||
aria-label="decrement"
|
||||
class="button is-xsmall is-light"
|
||||
disabled={{or this.isMinimum this.runningDeployment (cannot "scale job" namespace=this.taskGroup.job.namespace.name)}}
|
||||
disabled={{or this.isMinimum this.runningDeployment (cannot "scale job" namespace=this.namespace)}}
|
||||
onclick={{action "countDown"}}
|
||||
type="button">
|
||||
{{x-icon "minus-plain" class="is-text"}}
|
||||
|
@ -26,7 +26,7 @@
|
|||
role="button"
|
||||
aria-label="increment"
|
||||
class="button is-xsmall is-light"
|
||||
disabled={{or this.isMaximum this.runningDeployment (cannot "scale job" namespace=this.taskGroup.job.namespace.name)}}
|
||||
disabled={{or this.isMaximum this.runningDeployment (cannot "scale job" namespace=this.namespace)}}
|
||||
onclick={{action "countUp"}}
|
||||
type="button">
|
||||
{{x-icon "plus-plain" class="is-text"}}
|
||||
|
|
Loading…
Reference in New Issue