The "Upload Files and Create/Edit Plan" button is currently not being
disabled after it has been clicked and while the create/update process
is still running. Clicking it twice results in an error and should not
be possible in the first place.
This patch disables the button during a transition by checking the
`isTransitioningPlan` prop in addition to the `canSubmit` prop.
Reviewed: https:/ /review. openstack. org/541742 /git.openstack. org/cgit/ openstack/ tripleo- ui/commit/ ?id=55c1a059f3e 885d322cda49043 791e5a3fd339d1
Committed: https:/
Submitter: Zuul
Branch: master
commit 55c1a059f3e885d 322cda49043791e 5a3fd339d1
Author: Florian Fuchs <email address hidden>
Date: Wed Feb 7 16:04:13 2018 +0100
Disable plan upload/edit button during transition
The "Upload Files and Create/Edit Plan" button is currently not being
disabled after it has been clicked and while the create/update process
is still running. Clicking it twice results in an error and should not
be possible in the first place.
This patch disables the button during a transition by checking the oningPlan` prop in addition to the `canSubmit` prop.
`isTransiti
Change-Id: I4324ca828ff2ea 1eccafa8d7faae7 a181b736b2c
Closes-Bug: #1747932