Features/trigger widget #101

Merged
A-Nilfgaardian merged 4 commits from features/trigger-widget into master 2021-02-09 23:58:27 +00:00
Showing only changes of commit 33c535e36b - Show all commits

View File

@ -21,7 +21,7 @@ export default function(state = initialState, action: {type: any, payload: any})
} }
return { return {
...state, ...state,
activeChannel: state.triggerChannel + 1 triggerChannel: state.triggerChannel + 1
}; };
case "trigger/decreaseChannel": case "trigger/decreaseChannel":
if (state.triggerChannel == 1) { if (state.triggerChannel == 1) {
@ -29,7 +29,7 @@ export default function(state = initialState, action: {type: any, payload: any})
} }
return { return {
...state, ...state,
activeChannel: state.triggerChannel - 1 triggerChannel: state.triggerChannel - 1
}; };
default: default:
return state; return state;