mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix status
This commit is contained in:
parent
9f421882fc
commit
5f4633b4b7
1 changed files with 3 additions and 3 deletions
|
|
@ -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': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue