parent
bddb6c43a6
commit
7a9d4cd9d4
|
@ -141,8 +141,18 @@ update path navKey msg model =
|
||||||
)
|
)
|
||||||
|
|
||||||
ChannelChange channel ->
|
ChannelChange channel ->
|
||||||
( { model | channel = channel }
|
( { model
|
||||||
, Cmd.none
|
| channel = channel
|
||||||
|
, result = RemoteData.Loading
|
||||||
|
}
|
||||||
|
, createUrl
|
||||||
|
path
|
||||||
|
channel
|
||||||
|
model.query
|
||||||
|
model.showDetailsFor
|
||||||
|
0
|
||||||
|
model.size
|
||||||
|
|> Browser.Navigation.pushUrl navKey
|
||||||
)
|
)
|
||||||
|
|
||||||
QueryInput query ->
|
QueryInput query ->
|
||||||
|
@ -151,7 +161,7 @@ update path navKey msg model =
|
||||||
)
|
)
|
||||||
|
|
||||||
QuerySubmit ->
|
QuerySubmit ->
|
||||||
( model
|
( { model | result = RemoteData.Loading }
|
||||||
, createUrl
|
, createUrl
|
||||||
path
|
path
|
||||||
model.channel
|
model.channel
|
||||||
|
|
Loading…
Reference in a new issue