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: ecfa322303983d4ff0415449ea5f432ff977051b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
    store,
    render(createElement) {
      return createElement(SortDiscussion);
    },
  });
};