diff options
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/admin_console/team_settings.jsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/components/admin_console/team_settings.jsx b/webapp/components/admin_console/team_settings.jsx index d361c989f..6c9828351 100644 --- a/webapp/components/admin_console/team_settings.jsx +++ b/webapp/components/admin_console/team_settings.jsx @@ -102,7 +102,10 @@ class TeamSettings extends React.Component { config.TeamSettings.EnableUserCreation = this.refs.EnableUserCreation.checked; config.TeamSettings.RestrictTeamNames = this.refs.RestrictTeamNames.checked; config.TeamSettings.EnableTeamListing = this.refs.EnableTeamListing.checked; - config.TeamSettings.EnableCustomBrand = this.refs.EnableCustomBrand.checked; + + if (this.refs.EnableCustomBrand) { + config.TeamSettings.EnableCustomBrand = this.refs.EnableCustomBrand.checked; + } if (this.refs.CustomBrandText) { config.TeamSettings.CustomBrandText = this.refs.CustomBrandText.value; |