-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning for Boot menu switch on running VM. #560
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, but release is pending ...
isUp && | ||
<React.Fragment> | ||
<span className='pficon pficon-warning-triangle-o' /> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, use of padding would be better.
Considering time constraint, let's keep it for a follow-up.
@@ -262,6 +262,7 @@ export const messages = { | |||
network: 'Network', | |||
noNetwork: 'No network', | |||
vnicProfileEmpty: '<Empty>', | |||
bootMenuWarning: 'All changes will take effect only after reboot!', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please no exclamation mark !
in similar texts.
Considering time constraint, let's keep it for a follow-up
@@ -435,6 +435,7 @@ class VmDialog extends React.Component { | |||
} | |||
|
|||
const isEdit = !!vm | |||
const isUp = (isEdit && vm.get('status') === 'up') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be isRunning
Fixes: #549
Running VM:
![image](https://user-images.githubusercontent.com/3332176/38502744-7c6c6634-3c10-11e8-80a4-d1d4a1baae5e.png)
Not running VM:
![image](https://user-images.githubusercontent.com/3332176/38502767-8ce103d0-3c10-11e8-944d-ad6c5dbda4fd.png)
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)