traxxx/assets/js/ui/mutations.js

28 lines
380 B
JavaScript
Executable File

function setTagFilter(state, tagFilter) {
state.tagFilter = tagFilter;
}
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 {
setTagFilter,
setRange,
setBatch,
setSfw,
setTheme,
};