Update src/app_job_copy_1.py

#1
by jyotidabass91 - opened
No description provided.

Example Scenario
Before Fix:
Job A: Process 3 candidates β†’ Candidates shown.
Switch to Job B β†’ Old candidates from Job A still visible for a moment.
Stop processing Job B β†’ Job A's candidates reappear (bug).

After Fix:
Job A: Process 3 candidates β†’ Candidates shown.
Switch to Job B:
Job A's data is deleted from Selected_Candidates.
st.rerun() ensures only Job B's data is shown.
If Job B has no processed candidates, the UI shows:
"Find Matching Candidates" button
No candidates from Job A or other jobs appear.

ak0601 changed pull request status to merged

Sign up or log in to comment