Fix auto-expand selection

Fixes #5
This commit is contained in:
Thomas Nordquist
2019-01-13 15:19:34 +01:00
parent 1267bb27f7
commit 0de67a48a6

View File

@@ -51,7 +51,7 @@ const reducer: Reducer<AppState | undefined, CustomAction> = (state, action) =>
switch (action.type) {
case ActionTypes.setAutoExpandLimit:
if (!action.autoExpandLimit) {
if (action.autoExpandLimit === undefined) {
return state
}
return {