Skip to content
代码片段 群组 项目
提交 acbfe107 编辑于 作者: Kushal Pandya's avatar Kushal Pandya
浏览文件

Merge branch '10011-boards' into 'master'

Add isEE check in milestone

See merge request gitlab-org/gitlab-ce!27814
No related branches found
No related tags found
无相关合并请求
export function getMilestone() {
return null;
}
export default {
getMilestone,
};
<script>
import $ from 'jquery';
import { GlButton } from '@gitlab/ui';
import { getMilestone } from 'ee_else_ce/boards/boards_util';
import eventHub from '../eventhub';
import ProjectSelect from './project_select.vue';
import ListIssue from '../models/issue';
......@@ -51,11 +52,14 @@ export default {
const labels = this.list.label ? [this.list.label] : [];
const assignees = this.list.assignee ? [this.list.assignee] : [];
const milestone = getMilestone(this.list);
const issue = new ListIssue({
title: this.title,
labels,
subscribed: true,
assignees,
milestone,
project_id: this.selectedProject.id,
});
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册