From 5f4633b4b788432b59ab6501c00006d171bdb219 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Mon, 12 Apr 2021 18:05:23 +0200 Subject: [PATCH] Fix status --- openpype/modules/sync_server/tray/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpype/modules/sync_server/tray/models.py b/openpype/modules/sync_server/tray/models.py index e269dd7303..3cc53c6ec4 100644 --- a/openpype/modules/sync_server/tray/models.py +++ b/openpype/modules/sync_server/tray/models.py @@ -1084,18 +1084,18 @@ class SyncRepresentationDetailModel(_SyncRepresentationModel): '$and': [{'$or': ['$failed_remote', '$failed_local']}, {'$eq': ['$tries', 3]}]}, - 'then': 1 # Failed (3 tries) + 'then': 2 # Failed (3 tries) }, { 'case': { '$or': [{'$eq': ['$progress_remote', 0]}, {'$eq': ['$progress_local', 0]}]}, - 'then': 2 # Queued + 'then': 1 # Queued }, { 'case': { '$or': ['$failed_remote', '$failed_local']}, - 'then': 1 # Failed + 'then': 2 # Failed }, { 'case': {'$or': [{'$and': [