Skip to content

Commit

Permalink
fix(content): Fixed published content lists
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovicnemanja committed Oct 17, 2024
1 parent 49e3b77 commit ebc581a
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 @@ -470,8 +470,6 @@ class Manual extends React.Component {
}

let list = { ...this.state.list };
list.loading = true;

if (source.droppableId === destination.droppableId) {
let items = reorder(
this.getList(source.droppableId),
Expand Down Expand Up @@ -505,6 +503,8 @@ class Manual extends React.Component {
}

if (this.state.source && (this.state.source.id === 'scheduled' || this.state.source.id === 'in_progress')) {
list.loading = true;

const item_id = draggableId.replace('draggable_', '');

this.publishItemFromSuperdesk(item_id).then((res) => {
Expand Down

0 comments on commit ebc581a

Please sign in to comment.