diff --git a/UI/OpeningHours/OpeningHoursInput.ts b/UI/OpeningHours/OpeningHoursInput.ts index 94b0089da..32ae3750b 100644 --- a/UI/OpeningHours/OpeningHoursInput.ts +++ b/UI/OpeningHours/OpeningHoursInput.ts @@ -70,6 +70,9 @@ export default class OpeningHoursInput extends InputElement { if (OH.ParsePHRule(rule) !== null) { continue } + if(leftOvers.indexOf(rule) >= 0){ + continue + } leftOvers.push(rule) } return leftOvers diff --git a/UI/OpeningHours/OpeningHoursRange.ts b/UI/OpeningHours/OpeningHoursRange.ts index 7227b1094..b974d8038 100644 --- a/UI/OpeningHours/OpeningHoursRange.ts +++ b/UI/OpeningHours/OpeningHoursRange.ts @@ -31,7 +31,7 @@ export default class OpeningHoursRange extends BaseUIElement { ) const deleteRange = Svg.delete_icon_ui() - .SetClass("rounded-full w-6 h-6 block bg-black") + .SetClass("rounded-full w-6 h-6 block bg-black pointer-events-auto ") .onClick(() => { this._onDelete() })