From ebc581a0b8d18b798ccfa55383a69d6e03b1d38a Mon Sep 17 00:00:00 2001 From: pavlovicnemanja Date: Thu, 17 Oct 2024 14:35:26 +0200 Subject: [PATCH] fix(content): Fixed published content lists --- client/components/ContentLists/Manual/Manual.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/ContentLists/Manual/Manual.jsx b/client/components/ContentLists/Manual/Manual.jsx index cff9230..076342a 100644 --- a/client/components/ContentLists/Manual/Manual.jsx +++ b/client/components/ContentLists/Manual/Manual.jsx @@ -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), @@ -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) => {