update highlight when not in progress

This commit is contained in:
JOSEPH LE 2024-09-18 09:35:20 +07:00
parent 50106d0d80
commit 309d949faf
2 changed files with 11 additions and 10 deletions

View File

@ -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,

View File

@ -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'}