Skip to content

Commit

Permalink
options: honour newly added default options when upgrading options sc…
Browse files Browse the repository at this point in the history
…hema
  • Loading branch information
darwin committed Aug 31, 2016
1 parent 357c202 commit 2b6c28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/dirac/options/model.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
(go
(let [options (<! (read-options))]
(set! *initialized* true)
(reset-cached-options-without-sync! options)
(reset-cached-options-without-sync! (merge default-options options)) ; merge is important for upgrading options schema
(add-watch cached-options ::watch on-cached-options-change!)
(run-chrome-event-loop! chrome-event-channel)
true)))
Expand Down

0 comments on commit 2b6c28f

Please sign in to comment.