Skip to content

Commit

Permalink
Always load data sources when the application boots
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Sep 14, 2017
1 parent 39307a9 commit 15636e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/elm/Update.elm
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ updateRoute location model =
routingCommand : Model -> Route -> Cmd Msg
routingCommand model route =
case route of
Target _ ->
Cmd.map TargetMsg <| DSH.getDataSources model.resolverUrl

Resolver token ->
Cmd.map ResolverMsg <| RA.queryResolutionProgress token

Expand Down Expand Up @@ -144,5 +141,6 @@ init flags location =
, Cmd.batch
[ FUP.isUploadSupported ()
, routingCommand model currentRoute
, Cmd.map TargetMsg <| DSH.getDataSources model.resolverUrl
]
)

0 comments on commit 15636e1

Please sign in to comment.