WiP #broken

This commit is contained in:
Thomas Nordquist
2019-01-08 16:39:18 +01:00
parent 25cc7ad277
commit b44f352804
16 changed files with 257 additions and 164 deletions

View File

@@ -1,4 +1,4 @@
import { ActionTypes } from '../reducers'
import { ActionTypes, NodeOrder } from '../reducers'
export const setAutoExpandLimit = (autoExpandLimit: number = 0) => {
return {
@@ -12,3 +12,10 @@ export const toggleSettingsVisibility = () => {
type: ActionTypes.toggleSettingsVisibility,
}
}
export const setNodeOrder = (nodeOrder: NodeOrder = NodeOrder.none) => {
return {
nodeOrder,
type: ActionTypes.setNodeOrder,
}
}