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

13 lines
240 B
JavaScript
Raw Normal View History

2018-10-15 14:42:47 +05:30
import ModalStore from '../stores/modal_store';
2017-08-17 22:00:37 +05:30
2018-10-15 14:42:47 +05:30
export default {
2017-08-17 22:00:37 +05:30
methods: {
toggleModal(toggle) {
ModalStore.store.showAddIssuesModal = toggle;
},
changeTab(tab) {
ModalStore.store.activeTab = tab;
},
},
};