gitlab-org--gitlab-foss/app/assets/javascripts/boards/mixins/modal_mixins.js
2017-04-10 18:52:46 -05:00

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;
},
},
};