debian-mirror-gitlab/app/assets/javascripts/boards/mixins/modal_mixins.js
2017-08-17 22:00:37 +05:30

12 lines
252 B
JavaScript

const ModalStore = gl.issueBoards.ModalStore;
gl.issueBoards.ModalMixins = {
methods: {
toggleModal(toggle) {
ModalStore.store.showAddIssuesModal = toggle;
},
changeTab(tab) {
ModalStore.store.activeTab = tab;
},
},
};