edit namespace property in handlebar file to use computed property in component

This commit is contained in:
Jai Bhagat 2021-07-22 11:43:45 -04:00
parent e6b579ab8f
commit 0fba0ce778
1 changed files with 3 additions and 3 deletions

View File

@ -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"}}