mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 19:23:41 +01:00
[Glitch] Fix tag rendering error in hashtag column settings
Port e65080181a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
09c61e1376
commit
f011787003
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ class ColumnSettings extends React.PureComponent {
|
|||
tags (mode) {
|
||||
let tags = this.props.settings.getIn(['tags', mode]) || [];
|
||||
|
||||
if (tags.toJSON) {
|
||||
return tags.toJSON();
|
||||
if (tags.toJS) {
|
||||
return tags.toJS();
|
||||
} else {
|
||||
return tags;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue