Skip to content

Commit

Permalink
bug/extension-req-url: fix extension request url in task details page
Browse files Browse the repository at this point in the history
  • Loading branch information
palakgupta2712 committed Mar 28, 2024
1 parent 745e7a7 commit e006dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/taskDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const TaskDetails: FC<Props> = ({ taskID }) => {
isExtensionRequestPending?: boolean
) {
return isExtensionRequestPending
? `${TASK_EXTENSION_REQUEST_URL}?taskId=${taskId}`
? `${TASK_EXTENSION_REQUEST_URL}&q=taskId%3A${taskId}%2Cstatus%3APENDING`
: null;
}

Expand Down
2 changes: 1 addition & 1 deletion src/constants/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export const MY_SITE_URL = 'https://my.realdevsquad.com';
export const DASHBOARD_URL = 'https://dashboard.realdevsquad.com';
export const USER_MANAGEMENT_URL = `${DASHBOARD_URL}/users/details/`;
export const TASK_REQUESTS_DETAILS_URL = `${DASHBOARD_URL}/task-requests/details/`;
export const TASK_EXTENSION_REQUEST_URL = `${DASHBOARD_URL}/extension-requests/`;
export const TASK_EXTENSION_REQUEST_URL = `${DASHBOARD_URL}/extension-requests?`;

0 comments on commit e006dcc

Please sign in to comment.