From 2965a00e9b9afd83227bd5bcb08d6e76d5f7c3aa Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Sun, 5 Jun 2016 02:35:39 -0400 Subject: PLT-3168 Hide EnableFormatting advanced setting unless testing is enabled (#3237) * Added EnableTesting to the client config * Hid EnableFormatting advanced setting unless testing is enabled --- utils/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index a3969fc40..86fe7c062 100644 --- a/utils/config.go +++ b/utils/config.go @@ -217,6 +217,7 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableOnlyAdminIntegrations"] = strconv.FormatBool(*c.ServiceSettings.EnableOnlyAdminIntegrations) props["EnablePostUsernameOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostUsernameOverride) props["EnablePostIconOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostIconOverride) + props["EnableTesting"] = strconv.FormatBool(c.ServiceSettings.EnableTesting) props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper) props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications) -- cgit v1.2.3-1-g7c22