Fix tag rendering error in hashtag column settings (#17184)
* Flatten tags in configuration to regular array before converting to JSON * Render filter tags using toJS instead of toJSONlolsob-rspec
parent
47a37d924e
commit
9d43863426
|
@ -33,8 +33,8 @@ class ColumnSettings extends React.PureComponent {
|
||||||
tags (mode) {
|
tags (mode) {
|
||||||
let tags = this.props.settings.getIn(['tags', mode]) || [];
|
let tags = this.props.settings.getIn(['tags', mode]) || [];
|
||||||
|
|
||||||
if (tags.toJSON) {
|
if (tags.toJS) {
|
||||||
return tags.toJSON();
|
return tags.toJS();
|
||||||
} else {
|
} else {
|
||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue