2021-03-11 19:13:27 +05:30
|
|
|
- dropdown_options = assignees_dropdown_options('issue')
|
2021-06-08 01:23:25 +05:30
|
|
|
- relative_url = Gitlab.config.gitlab.relative_url_root || '/'
|
2021-03-11 19:13:27 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.block.assignee{ ref: "assigneeBlock" }
|
|
|
|
%template{ "v-if" => "issue.assignees" }
|
2021-03-11 19:13:27 +05:30
|
|
|
%sidebar-assignees-widget{ ":iid" => "String(issue.iid)",
|
2021-06-08 01:23:25 +05:30
|
|
|
":full-path" => "issue.path.split('/-/')[0].substring(1).replace(`#{relative_url}`, '')",
|
2021-03-11 19:13:27 +05:30
|
|
|
":initial-assignees" => "issue.assignees",
|
2021-06-08 01:23:25 +05:30
|
|
|
":allow-multiple-assignees" => "!Boolean(#{dropdown_options[:data][:"max-select"]})",
|
2021-03-11 19:13:27 +05:30
|
|
|
"@assignees-updated" => "setAssignees" }
|