aboutsummaryrefslogtreecommitdiff
path: root/src/Update
diff options
context:
space:
mode:
Diffstat (limited to 'src/Update')
-rw-r--r--src/Update/Update.elm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index a556e36..2f4d7a4 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -107,7 +107,9 @@ validEdition model =
Just edition ->
if isEmpty edition
then
- model
+ { model
+ | edition <- Nothing
+ }
else
let timerAction =
case edition.kind of