enable search in web ui
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -66,12 +66,6 @@ func (p Web) getPayload() (payload []byte, err error) {
|
||||
if p.config.Web.Path == "" {
|
||||
// render dynamically using config
|
||||
|
||||
// provide default ocis-web options
|
||||
if p.config.Web.Config.Options == nil {
|
||||
p.config.Web.Config.Options = make(map[string]interface{})
|
||||
p.config.Web.Config.Options["hideSearchBar"] = true
|
||||
}
|
||||
|
||||
// build theme url
|
||||
if themeServer, err := url.Parse(p.config.Web.ThemeServer); err == nil {
|
||||
p.config.Web.Config.Theme = themeServer.String() + p.config.Web.ThemePath
|
||||
|
||||
Reference in New Issue
Block a user