diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/followers/index.js | 5 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/following/index.js | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/followers/index.js b/app/javascript/flavours/glitch/features/followers/index.js index 0f50b727d..b0a9efc21 100644 --- a/app/javascript/flavours/glitch/features/followers/index.js +++ b/app/javascript/flavours/glitch/features/followers/index.js @@ -98,13 +98,14 @@ export default class Followers extends ImmutablePureComponent { <Column ref={this.setRef}> <ProfileColumnHeader onClick={this.handleHeaderClick} /> - <HeaderContainer accountId={this.props.params.accountId} hideTabs /> - <ScrollableList scrollKey='followers' hasMore={hasMore} onLoadMore={this.handleLoadMore} shouldUpdateScroll={this.shouldUpdateScroll} + prepend={<HeaderContainer accountId={this.props.params.accountId} hideTabs />} + alwaysPrepend + alwaysShowScrollbar emptyMessage={emptyMessage} > {accountIds.map(id => diff --git a/app/javascript/flavours/glitch/features/following/index.js b/app/javascript/flavours/glitch/features/following/index.js index b69358890..baf3730d9 100644 --- a/app/javascript/flavours/glitch/features/following/index.js +++ b/app/javascript/flavours/glitch/features/following/index.js @@ -93,13 +93,14 @@ export default class Following extends ImmutablePureComponent { <Column ref={this.setRef}> <ProfileColumnHeader onClick={this.handleHeaderClick} /> - <HeaderContainer accountId={this.props.params.accountId} hideTabs /> - <ScrollableList scrollKey='following' hasMore={hasMore} onLoadMore={this.handleLoadMore} shouldUpdateScroll={this.shouldUpdateScroll} + prepend={<HeaderContainer accountId={this.props.params.accountId} hideTabs />} + alwaysPrepend + alwaysShowScrollbar emptyMessage={emptyMessage} > {accountIds.map(id => |