debian-mirror-gitlab/app/assets/javascripts/boards/mixins/modal_mixins.js
2018-10-15 14:42:47 +05:30

12 lines
240 B
JavaScript

import ModalStore from '../stores/modal_store';
export default {
methods: {
toggleModal(toggle) {
ModalStore.store.showAddIssuesModal = toggle;
},
changeTab(tab) {
ModalStore.store.activeTab = tab;
},
},
};