Remove double new issue button on group issue dashboard empty state
This commit is contained in:
parent
9c70d98eef
commit
ebe989ca09
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@
|
|||
Also, issues are searchable and filterable.
|
||||
- if project_select_button
|
||||
= 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
|
||||
.text-center
|
||||
%h4 There are no issues to show.
|
||||
|
|
Loading…
Reference in a new issue