Commit 4dc066b3 authored by Kushal Pandya's avatar Kushal Pandya

Make sort dropdown optional

parent fc02fb3a
- type = local_assigns.fetch(:type) - type = local_assigns.fetch(:type)
- hide_sort_dropdown = local_assigns.fetch(:hide_sort_dropdown, false)
- full_path = @project.present? ? @project.full_path : @group.full_path - full_path = @project.present? ? @project.full_path : @group.full_path
.epics-filters .epics-filters
...@@ -61,5 +62,6 @@ ...@@ -61,5 +62,6 @@
%button.clear-search.hidden{ type: 'button' } %button.clear-search.hidden{ type: 'button' }
= icon('times') = icon('times')
.filter-dropdown-container - unless hide_sort_dropdown
= render 'shared/epic/sort_dropdown' .filter-dropdown-container
= render 'shared/epic/sort_dropdown'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment