[Glitch] Add “account timeline” filter category
Port JS changes from 43daeccccb to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
			
			
This commit is contained in:
		
							parent
							
								
									de76a8969e
								
							
						
					
					
						commit
						4f51fe03c9
					
				| 
						 | 
					@ -112,6 +112,7 @@ class AccountTimeline extends ImmutablePureComponent {
 | 
				
			||||||
          onLoadMore={this.handleLoadMore}
 | 
					          onLoadMore={this.handleLoadMore}
 | 
				
			||||||
          emptyMessage={<FormattedMessage id='empty_column.account_timeline' defaultMessage='No toots here!' />}
 | 
					          emptyMessage={<FormattedMessage id='empty_column.account_timeline' defaultMessage='No toots here!' />}
 | 
				
			||||||
          bindToDocument={!multiColumn}
 | 
					          bindToDocument={!multiColumn}
 | 
				
			||||||
 | 
					          timelineId='account'
 | 
				
			||||||
        />
 | 
					        />
 | 
				
			||||||
      </Column>
 | 
					      </Column>
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,6 +27,7 @@ export const toServerSideType = columnType => {
 | 
				
			||||||
  case 'notifications':
 | 
					  case 'notifications':
 | 
				
			||||||
  case 'public':
 | 
					  case 'public':
 | 
				
			||||||
  case 'thread':
 | 
					  case 'thread':
 | 
				
			||||||
 | 
					  case 'account':
 | 
				
			||||||
    return columnType;
 | 
					    return columnType;
 | 
				
			||||||
  default:
 | 
					  default:
 | 
				
			||||||
    if (columnType.indexOf('list:') > -1) {
 | 
					    if (columnType.indexOf('list:') > -1) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue