Fix server rebuild issue with partials referenced from render hooks

Fixes #7990
This commit is contained in:
Bjørn Erik Pedersen
2020-11-26 08:32:49 +01:00
parent 7e223b3baa
commit e442cf30a2
6 changed files with 57 additions and 12 deletions

View File

@@ -1738,7 +1738,7 @@ var infoOnMissingLayout = map[string]bool{
// where ITEM is the thing being hooked.
type hookRenderer struct {
templateHandler tpl.TemplateHandler
identity.Provider
identity.SearchProvider
templ tpl.Template
}