Fix: stabilize opening hours, make delete clickable again

This commit is contained in:
Pieter Vander Vennet 2023-05-04 23:32:37 +02:00
parent 8fafd0a8a5
commit cc60d2a5fb
2 changed files with 4 additions and 1 deletions

View file

@ -70,6 +70,9 @@ export default class OpeningHoursInput extends InputElement<string> {
if (OH.ParsePHRule(rule) !== null) {
continue
}
if(leftOvers.indexOf(rule) >= 0){
continue
}
leftOvers.push(rule)
}
return leftOvers