Skip to content

Commit

Permalink
fix(recurrentEvent): update except on repetition change
Browse files Browse the repository at this point in the history
  • Loading branch information
J9rem committed Mar 14, 2024
1 parent 94536e4 commit 3ad3c7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/bazar/presentation/javascripts/recurrent-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ let appParams = {
if (limitdate && 'value' in this.datePickerForLimit){
this.datePickerForLimit.value = limitdate
this.updateEndDateLimitTime()
} else {
this.updateAvailableExcept()
}
if (data?.isRecurrent !== '1'){
this.recurrenceBaseId = (
Expand Down Expand Up @@ -412,6 +414,7 @@ let appParams = {
if (repetition !== 'w' && this.days?.length > 1){
this.days = [this.days[0]]
}
this.updateAvailableExceptUpdatingNbMax()
},
repetitionInternal(){
this.setCurrentDayIfWeek()
Expand Down

0 comments on commit 3ad3c7e

Please sign in to comment.