Commit ebe989ca authored by Clement Ho's avatar Clement Ho

Remove double new issue button on group issue dashboard empty state

parent 9c70d98e
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
Also, issues are searchable and filterable. Also, issues are searchable and filterable.
- if project_select_button - if project_select_button
= render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue' = render 'shared/new_project_item_select', path: 'issues/new', label: 'New issue'
= link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link' - else
= link_to 'New issue', button_path, class: 'btn btn-new', title: 'New issue', id: 'new_issue_link'
- else - else
.text-center .text-center
%h4 There are no issues to show. %h4 There are no issues to show.
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