Commit 93529258 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'boards-sidebar-groups' into 'master'

Fixes no project group id issue on group boards

See merge request gitlab-org/gitlab-ee!15790
parents 378e39e6 ca54a155
- return unless @group&.feature_available?(:epics) || @project&.group&.feature_available?(:epics) - return unless @group&.feature_available?(:epics) || @project&.group&.feature_available?(:epics)
%sidebar-epics-select{ ":sidebar-store" => "issue", %sidebar-epics-select{ ":sidebar-store" => "issue",
":group-id": "#{@project&.group&.id}", ":group-id": "#{@project&.group&.id || @group&.id}",
":issue-id": "issue.id", ":issue-id": "issue.id",
":epic-issue-id": "(issue.epic && issue.epic.epic_issue_id) || 0", ":epic-issue-id": "(issue.epic && issue.epic.epic_issue_id) || 0",
":can-edit": can_admin_issue? } ":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