Skip to content
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

Fix toolbar on Reports tab on Overview -> Utilization screen #6624

Merged
merged 4 commits into from
Jan 27, 2020

Conversation

ZitaNemeckova
Copy link
Contributor

@ZitaNemeckova ZitaNemeckova commented Jan 20, 2020

Closes #6608

Show toolbar when Report tab selected
Go to Overview -> Utilization -> select a Provider -> click Report Tab -> No Download button

Before:
image

After:
image

Do Not show toolbar when no data in Report
Go to Overview -> Utilization -> select a Provider -> click Report Tab -> click another Provider -> click Download button and get an error
Before:
image

[----] F, [2020-01-20T16:02:10.608136 #4597:3fe027b4a4b4] FATAL -- : Error caught: [NoMethodError] undefined method '[]' for nil:NilClass /ManageIQ/manageiq-ui-classic/app/controllers/utilization_controller.rb:232:in 'summ_hashes' /ManageIQ/manageiq-ui-classic/app/controllers/utilization_controller.rb:74:in 'report_download'
After:
image

@miq-bot add_label wip, bug, toolbars, ivanchuk/no

@miq-bot miq-bot changed the title Fix toolbar on Reports tab on Overview -> Utilization screen [WIP] Fix toolbar on Reports tab on Overview -> Utilization screen Jan 20, 2020
@miq-bot
Copy link
Member

miq-bot commented Jan 21, 2020

Checked commits ZitaNemeckova/manageiq-ui-classic@12d91af~...634713d with ruby 2.5.5, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
6 files checked, 0 offenses detected
Everything looks fine. ⭐

@ZitaNemeckova
Copy link
Contributor Author

@miq-bot remove_label wip

@miq-bot miq-bot changed the title [WIP] Fix toolbar on Reports tab on Overview -> Utilization screen Fix toolbar on Reports tab on Overview -> Utilization screen Jan 21, 2020
@miq-bot miq-bot removed the wip label Jan 21, 2020
@mzazrivec mzazrivec self-assigned this Jan 27, 2020
@mzazrivec mzazrivec added this to the Sprint 129 Ending Feb 3, 2020 milestone Jan 27, 2020
@mzazrivec mzazrivec merged commit 913b7e1 into ManageIQ:master Jan 27, 2020
@ZitaNemeckova ZitaNemeckova deleted the fix_util_toolbar branch January 27, 2020 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toolbars is missing on Reports tab on Overview -> Utilization screen
3 participants