[Glitch] Fix tag rendering error in hashtag column settings
Port e65080181af82c14d3441a0890f2ba0a6fb9cd7e to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
		
							parent
							
								
									09c61e1376
								
							
						
					
					
						commit
						f011787003
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user