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

Fixing showtype error #4164

Merged
merged 1 commit into from
Jul 2, 2018
Merged

Conversation

douglasgabriel
Copy link
Member

@douglasgabriel douglasgabriel commented Jun 19, 2018

This PR is able to

  • Fix the listnav issue;

Steps to Reproduce

  • Access a physical provider dashboard view (need to confirm if it happens in other providers);
  • Access the show_list page of physical providers;
  • See that the listnav is not shown:

screenshot-localhost 3000-2018-06-19-09-53-48

This issue is due to @showtype value that remains as "dashboad" which removes the listnav according to the logic inside app/helpers/application_helper/page_layouts.rb#layout_uses_listnav?

@miq-bot
Copy link
Member

miq-bot commented Jun 19, 2018

Checked commit douglasgabriel@55511b9 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@douglasgabriel
Copy link
Member Author

@miq-bot add_label bug

@martinpovolny
Copy link
Member

This one is hard to review properly, I have read through a bunch of places, seems to me this is a correct fix.

In other places (such as ems_infra) we set the value too.

@martinpovolny martinpovolny added this to the Sprint 89 Ending Jul 2, 2018 milestone Jul 2, 2018
@himdel
Copy link
Contributor

himdel commented Oct 24, 2018

Also fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542907, adding gaprindashvili/yes

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.

5 participants