traxxx/assets/js/ui/mutations.js

33 lines
490 B
JavaScript

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