Skip to content

Commit

Permalink
status not update bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wangf1122 committed Jan 17, 2024
1 parent 71368be commit d4a4255
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ public Map<Integer, StatusChangeType> onStatusChange(List<MetadataStatus> listOf
*/
private boolean applyStatusChange(int metadataId, MetadataStatus status, String toStatusId, boolean updateIndex) throws Exception {
boolean deleted = false;
if (!deleted && updateIndex) {
metadataStatusManager.setStatusExt(status, true);
if (!deleted) {
metadataStatusManager.setStatusExt(status, updateIndex);
}
return deleted;
}
Expand Down

0 comments on commit d4a4255

Please sign in to comment.