debian-mirror-gitlab/app/assets/javascripts/boards/mixins/modal_mixins.js

13 lines
252 B
JavaScript
Raw Normal View History

2017-08-17 22:00:37 +05:30
const ModalStore = gl.issueBoards.ModalStore;
gl.issueBoards.ModalMixins = {
methods: {
toggleModal(toggle) {
ModalStore.store.showAddIssuesModal = toggle;
},
changeTab(tab) {
ModalStore.store.activeTab = tab;
},
},
};