Commit ca54a155 authored by Donald Cook's avatar Donald Cook

Uses group id when there is no project

parent 5fccd96d
- return unless @group&.feature_available?(:epics) || @project&.group&.feature_available?(:epics)
%sidebar-epics-select{ ":sidebar-store" => "issue",
":group-id": "#{@project&.group&.id}",
":group-id": "#{@project&.group&.id || @group&.id}",
":issue-id": "issue.id",
":epic-issue-id": "(issue.epic && issue.epic.epic_issue_id) || 0",
":can-edit": can_admin_issue? }
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