Fix Params case handling for menu items defined in site config

Fixes #8775
This commit is contained in:
Bjørn Erik Pedersen
2021-07-20 11:32:50 +02:00
parent c19f65f956
commit 634481ba8c
2 changed files with 33 additions and 30 deletions

View File

@@ -131,7 +131,8 @@ func (m *MenuEntry) MarshallMap(ime map[string]interface{}) {
case "parent":
m.Parent = cast.ToString(v)
case "params":
m.Params = maps.ToStringMap(v)
m.Params = maps.MustToParamsAndPrepare(v)
}
}
}