debian-mirror-gitlab/app/assets/javascripts/jira_connect/store/mutations.js

8 lines
194 B
JavaScript
Raw Normal View History

2021-04-17 20:07:23 +05:30
import { SET_ALERT } from './mutation_types';
2021-03-08 18:12:59 +05:30
export default {
2021-04-17 20:07:23 +05:30
[SET_ALERT](state, { title, message, variant, linkUrl } = {}) {
state.alert = { title, message, variant, linkUrl };
2021-03-08 18:12:59 +05:30
},
};