Application modal opens despite disabled apply state and deadline date handling issue #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The job application modal can still be opened even when the Apply button is disabled.
Job application deadline handling assumes a Date object, which can cause runtime issues when the value is a string.
Expected Behavior
The application modal should not open when the user is not eligible to apply.
Application deadlines should be handled safely regardless of the source type.
Impact
Can lead to invalid application attempts
Potential runtime errors during date formatting
Suggested Approach
Normalize application deadline before usage
Prevent modal trigger when application is disabled
Fixed by #3