Skip to content

Commit

Permalink
[SBRP-113] Fix redux issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrylSSY committed Nov 7, 2023
1 parent f5bbd94 commit 7c780fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/actions/applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const getApplicationsByStaffId = (payload: GetApplicationsByStaffIdPayloa
list_of_applications_by_staff_id.data[i].role_name = list_of_all_role_listing_details.data[j].role_name;
list_of_applications_by_staff_id.data[i].rl_status = list_of_all_role_listing_details.data[j].rl_status;
const date = new Date();
if (date > new Date(list_of_all_role_listing_details.data[i]["rl_close"])) {
if (date > new Date(list_of_applications_by_staff_id.data[i]["rl_close"])) {
list_of_applications_by_staff_id.data[i].rl_status = "Closed";
} else {
list_of_applications_by_staff_id.data[i].rl_status = "Open";
Expand Down

0 comments on commit 7c780fa

Please sign in to comment.