Welcome to mirror list, hosted at ThFree Co, Russian Federation.

init_issue_status_select.js « bulk_update_sidebar « issuable « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 43179a86d70b4795fdb61f2d0bf04cd5877a6aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Vue from 'vue';
import StatusSelect from './components/status_select.vue';

export default function initIssueStatusSelect() {
  const el = document.querySelector('.js-issue-status');

  if (!el) {
    return null;
  }

  return new Vue({
    el,
    render(h) {
      return h(StatusSelect);
    },
  });
}