From 0de67a48a675cf31abf96c1403fedcf9eb50bbdd Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Sun, 13 Jan 2019 15:19:34 +0100 Subject: [PATCH] Fix auto-expand selection Fixes #5 --- app/src/reducers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/reducers/index.ts b/app/src/reducers/index.ts index f9e312b..1523195 100644 --- a/app/src/reducers/index.ts +++ b/app/src/reducers/index.ts @@ -51,7 +51,7 @@ const reducer: Reducer = (state, action) => switch (action.type) { case ActionTypes.setAutoExpandLimit: - if (!action.autoExpandLimit) { + if (action.autoExpandLimit === undefined) { return state } return {