Skip to content
Snippets Groups Projects
Commit b52a5e6b authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

Show LoadMore button on Notifications even if all items are filtered (#4077)

parent bb194ddb
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ export default class Notifications extends React.PureComponent {
let unread = '';
let scrollContainer = '';
if (!isLoading && notifications.size > 0 && hasMore) {
if (!isLoading && hasMore) {
loadMore = <LoadMore onClick={this.handleLoadMore} />;
}
......@@ -132,7 +132,7 @@ export default class Notifications extends React.PureComponent {
if (isLoading && this.scrollableArea) {
scrollableArea = this.scrollableArea;
} else if (notifications.size > 0) {
} else if (notifications.size > 0 || hasMore) {
scrollableArea = (
<div className='scrollable' onScroll={this.handleScroll} ref={this.setRef}>
{unread}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment