mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Merge pull request #2580 from balena-io/progress-button-disabled-prop-is-a-boolean
ProgressBar.disabled prop is a boolean
This commit is contained in:
commit
e89566e04a
@ -123,7 +123,7 @@
|
|||||||
active = "main.state.isFlashing()"
|
active = "main.state.isFlashing()"
|
||||||
percentage="main.state.getFlashState().percentage"
|
percentage="main.state.getFlashState().percentage"
|
||||||
label="flash.getProgressButtonLabel()"
|
label="flash.getProgressButtonLabel()"
|
||||||
disabled="main.state.getLastFlashErrorCode() || main.shouldFlashStepBeDisabled()"
|
disabled="!!main.state.getLastFlashErrorCode() || main.shouldFlashStepBeDisabled()"
|
||||||
callback="flash.flashImageToDrive" >
|
callback="flash.flashImageToDrive" >
|
||||||
</progress-button>
|
</progress-button>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user