[Glitch] Fix tag rendering error in hashtag column settings

Port 9d43863426 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
th-downstream
Rens Groothuijsen 3 years ago committed by Claire
parent 2136aa2759
commit 5baeb90bd4

@ -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…
Cancel
Save