debian-mirror-gitlab/app/assets/javascripts/jira_connect/store/mutations.js
2021-04-17 20:07:23 +05:30

7 lines
194 B
JavaScript

import { SET_ALERT } from './mutation_types';
export default {
[SET_ALERT](state, { title, message, variant, linkUrl } = {}) {
state.alert = { title, message, variant, linkUrl };
},
};