Do not restore from
and size
from the previous model (#562)
This commit is contained in:
parent
515d60601b
commit
5bbe885b62
|
@ -299,12 +299,6 @@ init args defaultNixOSChannel nixosChannels maybeModel =
|
||||||
|
|
||||||
modelChannel =
|
modelChannel =
|
||||||
getField .channel defaultNixOSChannel
|
getField .channel defaultNixOSChannel
|
||||||
|
|
||||||
modelFrom =
|
|
||||||
getField .from 0
|
|
||||||
|
|
||||||
modelSize =
|
|
||||||
getField .size 50
|
|
||||||
in
|
in
|
||||||
( { channel =
|
( { channel =
|
||||||
args.channel
|
args.channel
|
||||||
|
@ -317,10 +311,10 @@ init args defaultNixOSChannel nixosChannels maybeModel =
|
||||||
, show = args.show
|
, show = args.show
|
||||||
, from =
|
, from =
|
||||||
args.from
|
args.from
|
||||||
|> Maybe.withDefault modelFrom
|
|> Maybe.withDefault 0
|
||||||
, size =
|
, size =
|
||||||
args.size
|
args.size
|
||||||
|> Maybe.withDefault modelSize
|
|> Maybe.withDefault 50
|
||||||
, buckets = args.buckets
|
, buckets = args.buckets
|
||||||
, sort =
|
, sort =
|
||||||
args.sort
|
args.sort
|
||||||
|
|
Loading…
Reference in a new issue