[Glitch] Fix tag rendering error in hashtag column settings

Port e65080181a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/18878/head
Rens Groothuijsen 2021-12-26 19:22:05 +01:00 committed by Claire
parent 09c61e1376
commit f011787003
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }