MM-9795: Fix theme chooser for non-EE builds (#8440)
* Fix theme chooser for non-EE builds * fix compilation * remove whitespace * fix
Этот коммит содержится в:
коммит произвёл
Derrick Anderson
родитель
2b460da1d5
Коммит
88b9d2225d
@@ -452,6 +452,9 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
|
||||
hasImageProxy := c.ServiceSettings.ImageProxyType != nil && *c.ServiceSettings.ImageProxyType != "" && c.ServiceSettings.ImageProxyURL != nil && *c.ServiceSettings.ImageProxyURL != ""
|
||||
props["HasImageProxy"] = strconv.FormatBool(hasImageProxy)
|
||||
|
||||
props["EnableThemeSelection"] = "true"
|
||||
props["AllowCustomThemes"] = "true"
|
||||
|
||||
if license != nil {
|
||||
props["ExperimentalTownSquareIsReadOnly"] = strconv.FormatBool(*c.TeamSettings.ExperimentalTownSquareIsReadOnly)
|
||||
props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer)
|
||||
|
||||
Ссылка в новой задаче
Block a user