Fix hardcoded Nothing for action data.

This commit is contained in:
Dillon Kearns 2022-05-13 10:15:32 -07:00
parent e01415407f
commit bcb8a22873

View File

@ -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
}