traxxx/assets/js/ui/mutations.js

28 lines
365 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;
2020-03-23 00:43:49 +00:00
}
function setTheme(state, theme) {
state.theme = theme;
2020-03-23 00:43:49 +00:00
}
export default {
setFilter,
setRange,
setBatch,
setSfw,
setTheme,
};