mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-28 14:23:04 +03:00
Fix hardcoded Nothing for action data.
This commit is contained in:
parent
e01415407f
commit
bcb8a22873
@ -841,10 +841,10 @@ sendSinglePageProgress site contentJson config model info =
|
||||
|
||||
viewValue : { title : String, body : Html (Pages.Msg.Msg userMsg) }
|
||||
viewValue =
|
||||
(config.view currentPage Nothing sharedData pageData Nothing |> .view) pageModel
|
||||
(config.view currentPage Nothing sharedData pageData maybeActionData |> .view) pageModel
|
||||
in
|
||||
PageServerResponse.RenderPage responseInfo
|
||||
{ head = config.view currentPage Nothing sharedData pageData Nothing |> .head
|
||||
{ head = config.view currentPage Nothing sharedData pageData maybeActionData |> .head
|
||||
, view = viewValue.body |> HtmlPrinter.htmlToString
|
||||
, title = viewValue.title
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user