traxxx/assets/js/ui/mutations.js

33 lines
490 B
JavaScript
Raw Normal View History

2021-01-03 21:53:51 +00:00
function setTagFilter(state, tagFilter) {
state.tagFilter = tagFilter;
}
function setSummaryFormat(state, summaryFormat) {
state.summaryFormat = summaryFormat;
}
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 {
2021-01-03 21:53:51 +00:00
setTagFilter,
setSummaryFormat,
setRange,
setBatch,
setSfw,
setTheme,
};