traxxx/assets/js/ui/mutations.js

33 lines
490 B
JavaScript
Raw Normal View History

2021-04-22 17:44:23 +00:00
function setNotifications(state, notifications) {
state.notifications = notifications;
}
2021-01-03 21:53:51 +00:00
function setTagFilter(state, tagFilter) {
state.tagFilter = tagFilter;
}
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-04-22 17:44:23 +00:00
setNotifications,
2021-01-03 21:53:51 +00:00
setTagFilter,
setRange,
setBatch,
setSfw,
setTheme,
};