forked from MapComplete/MapComplete
Fix: stabilize opening hours, make delete clickable again
This commit is contained in:
parent
8fafd0a8a5
commit
cc60d2a5fb
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue