You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
386 B
18 lines
386 B
export default {
|
|
//Modal
|
|
SET_RESULT_CURRENT_MODAL(state, result) {
|
|
state.result = result;
|
|
},
|
|
SET_PROPERTIES_CURRENT_MODAL(state, properties) {
|
|
state.properties = properties;
|
|
},
|
|
|
|
//Alert
|
|
SET_ALERT_TYPE(state, type = 'delete') {
|
|
state.alertType = type;
|
|
},
|
|
SET_ALERT_PROPERTIES(state, properties = {}) {
|
|
state.alertProperties = properties;
|
|
}
|
|
};
|