File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ export const Status = () => {
2929 const { user, updateUser } = useLoginContext ( ) ;
3030
3131 const confirmationDays = Math . floor ( settings . application . hoursToConfirm / 24 ) ;
32- const fillProfileFormFrom = settings . application . fillProfileFormFrom ;
33- const fillProfileFormUntil = settings . application . fillProfileFormUntil ;
34- const acceptanceDeadline = settings . application . acceptanceDeadline ;
35- const confirmSpotUntil = settings . application . confirmSpotUntil ;
32+ const fillProfileFormFrom = dateToString (
33+ settings . application . fillProfileFormFrom ,
34+ ) ;
35+ const fillProfileFormTo = dateToString ( settings . application . fillProfileFormTo ) ;
36+ const acceptanceDeadline = dateToString (
37+ settings . application . acceptanceDeadline ,
38+ ) ;
39+ const confirmSpotUntil = dateToString ( settings . application . confirmSpotUntil ) ;
3640 const isExpired = user == null ? false : isConfirmationExpired ( user ) ;
3741 const isNotAttending = isExpired || user ?. declined ;
3842 const deadline = user ?. confirmationExpiresAt ;
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ export const ProjectProjectSettings = () => {
138138 setSettings ( ( prev ) => {
139139 const changedSettings = {
140140 ...prev ,
141- rating : {
142- ...prev . rating ,
141+ project : {
142+ ...prev . project ,
143143 allowRatingProjects : value ,
144144 } ,
145145 } ;
You can’t perform that action at this time.
0 commit comments