diff --git a/src/Main.elm b/src/Main.elm index 30e5c42..55652a4 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -117,10 +117,10 @@ submitQuery old ( new, cmd ) = ( new , Cmd.batch [ cmd - , Page.Packages.makeRequest + , makeRequest new.elasticsearch (Maybe.withDefault "" newModel.query) - |> Cmd.map PackagesMsg + |> Cmd.map msg ] ) in diff --git a/src/Page/Options.elm b/src/Page/Options.elm index 6ab6fad..b31f536 100644 --- a/src/Page/Options.elm +++ b/src/Page/Options.elm @@ -146,7 +146,6 @@ makeRequest : makeRequest options query = ElasticSearch.makeRequest "option_name" - -- TODO: add support for different channels "nixos-unstable-options" decodeResultItemSource options