traxxx/assets/js/ui/mutations.js

28 lines
395 B
JavaScript
Raw Normal View History

function setFilter(state, filter) {
state.filter = filter;
}
function setRange(state, range) {
state.range = range;
}
function setBatch(state, batch) {
state.batch = batch;
}
2020-03-23 00:43:49 +00:00
function setSfw(state, sfw) {
state.sfw = sfw;
}
function setTheme(state, theme) {
state.theme = theme;
}
export default {
setFilter,
setRange,
setBatch,
2020-03-23 00:43:49 +00:00
setSfw,
setTheme,
};