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

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

export default (store) => {
  const el = document.getElementById('js-vue-sort-issue-discussions');

  if (!el) return null;

  return new Vue({
    el,
    name: 'SortDiscussionRoot',
    store,
    render(createElement) {
      return createElement(SortDiscussion);
    },
  });
};