Skip to content

Commit

Permalink
Merge pull request #361 from superdesk/content-lists-superdesk
Browse files Browse the repository at this point in the history
fix(scroll): Fixed issue with scroll
  • Loading branch information
IvanJelicSF authored Dec 12, 2024
2 parents faed3e3 + a5e166f commit f9a966e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/ContentLists/Manual/Manual.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Manual extends React.Component {

if (listEl.scrollHeight - el.scrollTop - el.clientHeight < 100) {
if (list === "articles") {
this.state.source && this.state.source.id === 'superdesk' ?
this.state.source && (this.state.source.id === 'scheduled' || this.state.source.id === 'in_progress') ?
this._querySuperdeskArticles() :
this._queryArticles();
} else {
Expand Down Expand Up @@ -250,7 +250,7 @@ class Manual extends React.Component {
});
};

_querySuperdeskArticles = (filter, reset = false) => {
_querySuperdeskArticles = (filter = this.state.source.id, reset = false) => {
// Get Superdesk API instance
const superedeskApi = window['extensionsApiInstances']['publisher-extension'];

Expand Down

0 comments on commit f9a966e

Please sign in to comment.