update highlight when not in progress
This commit is contained in:
		
							parent
							
								
									50106d0d80
								
							
						
					
					
						commit
						309d949faf
					
				| 
						 | 
				
			
			@ -240,7 +240,7 @@ class JiraService
 | 
			
		|||
                'expand' => ['names', 'schema'],
 | 
			
		||||
                'fields' => ['summary', 'status', 'timeoriginalestimate', 'timespent', 'assignee', 'project', 'updated'],
 | 
			
		||||
                'jql' => sprintf(
 | 
			
		||||
                    "assignee = '%s' AND status IN ('to do', 'in progress') ORDER BY updated DESC",
 | 
			
		||||
                    "assignee = '%s' AND status IN ('to do', 'todo', 'in progress') ORDER BY updated DESC",
 | 
			
		||||
                    $user['accountId']
 | 
			
		||||
                ),
 | 
			
		||||
                'maxResults' => 50,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3408,7 +3408,8 @@ const Allocation = () => {
 | 
			
		|||
                                >
 | 
			
		||||
                                  <Box  style={{
 | 
			
		||||
                                    display: 'flex',
 | 
			
		||||
                                    width: "50%"
 | 
			
		||||
                                    width: "50%",
 | 
			
		||||
                                    backgroundColor: userData.issues?.filter((iss:Issue)=> iss.fields.status.name === 'In Progress')?.length === 0 ? 'yellow' : ''
 | 
			
		||||
                                    }}>
 | 
			
		||||
                                    <Avatar
 | 
			
		||||
                                      size={'sm'}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue