ux: new fixes

This commit is contained in:
Torkel Ödegaard
2017-10-18 09:48:37 +02:00
parent 148a4c6c2d
commit 6f71af449b
4 changed files with 44 additions and 24 deletions

View File

@@ -84,6 +84,7 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
themeUrlParam := c.Query("theme")
if themeUrlParam == "light" {
data.User.LightTheme = true
data.Theme = "light"
}
if c.OrgRole == m.ROLE_ADMIN || c.OrgRole == m.ROLE_EDITOR {