mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix default text setting on admin console not getting cleared (#26653)
This commit is contained in:
parent
a040618485
commit
4783950e72
@ -517,7 +517,7 @@ export class SchemaAdminSettings extends React.PureComponent<Props, State> {
|
||||
} else if (setting.multiple) {
|
||||
value = this.state[setting.key] ? this.state[setting.key].join(',') : '';
|
||||
} else {
|
||||
value = this.state[setting.key] || setting.default || '';
|
||||
value = this.state[setting.key] ?? (setting.default || '');
|
||||
}
|
||||
|
||||
let footer = null;
|
||||
|
Loading…
Reference in New Issue
Block a user