gitlab-org--gitlab-foss/app/assets/javascripts/boards/mixins/modal_mixins.js

13 lines
252 B
JavaScript
Raw Normal View History

2017-04-10 19:52:46 -04:00
const ModalStore = gl.issueBoards.ModalStore;
2017-01-31 11:46:57 -05:00
2017-04-10 19:52:46 -04:00
gl.issueBoards.ModalMixins = {
methods: {
toggleModal(toggle) {
ModalStore.store.showAddIssuesModal = toggle;
2017-01-31 11:46:57 -05:00
},
2017-04-10 19:52:46 -04:00
changeTab(tab) {
ModalStore.store.activeTab = tab;
},
},
};