traxxx/assets/js/ui/mutations.js

28 lines
365 B
JavaScript

function setFilter(state, filter) {
state.filter = filter;
}
function setRange(state, range) {
state.range = range;
}
function setBatch(state, batch) {
state.batch = batch;
}
function setSfw(state, sfw) {
state.sfw = sfw;
}
function setTheme(state, theme) {
state.theme = theme;
}
export default {
setFilter,
setRange,
setBatch,
setSfw,
setTheme,
};