Description of problem:
Archived VM's detail view has Power dropdown enabled and clickable even though on options are actually available to the user.
Version-Release number of selected component (if applicable):
CFME 5.10.0.16
How reproducible:
100 %
Steps to Reproduce:
1. Have a provider with archived VM (tested on RHV 4.2.7).
2. Go to that VM's detail view.
3. Inspect Power dropdown in the upper toolbar.
Actual results:
It is enabled, however you cannot actually take any of the power actions.
Expected results:
It should be disabled.
Additional info:
Screenshot attached.
New commit detected on ManageIQ/ui-components/hammer:
https://github.com/ManageIQ/ui-components/commit/793afc679b23760cdd7a7d14a6fda03eb2ccc09d
commit 793afc679b23760cdd7a7d14a6fda03eb2ccc09d
Author: Martin Hradil <himdel>
AuthorDate: Mon Nov 5 07:49:24 2018 -0500
Commit: Martin Hradil <himdel>
CommitDate: Mon Nov 5 07:49:24 2018 -0500
Merge pull request #357 from ManageIQ/toolbar_dropdown_disable
Disable toolbar dropdown if no item in the group is enabled.
(cherry picked from commit af0d12192f73942ffabd39dd67698085f9e3ce0b)
https://bugzilla.redhat.com/show_bug.cgi?id=1633727
src/toolbar/components/toolbar-menu/toolbar-list.html | 2 +-
src/toolbar/components/toolbar-menu/toolbarListComponent.ts | 9 +-
2 files changed, 9 insertions(+), 2 deletions(-)