From 28e40d08ae505a6bae6f534e57fd360fb1d41276 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 23 Oct 2020 02:26:14 +0200 Subject: [PATCH] Small fix to Public Holiday input --- UI/Input/OpeningHours/PublicHolidayInput.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/Input/OpeningHours/PublicHolidayInput.ts b/UI/Input/OpeningHours/PublicHolidayInput.ts index c17baf9..3676f1f 100644 --- a/UI/Input/OpeningHours/PublicHolidayInput.ts +++ b/UI/Input/OpeningHours/PublicHolidayInput.ts @@ -30,7 +30,7 @@ export default class PublicHolidayInput extends InputElement { ); this._dropdown = dropdown.SetStyle("display:inline-block;"); this._mode = dropdown.GetValue(); - this.ListenTo(dropdown.GetValue()); + this.ListenTo(this._mode); const start = new TextField({ placeholder: "starthour", @@ -117,7 +117,7 @@ export default class PublicHolidayInput extends InputElement { if(str === "PH open"){ return { - mode: "open" + mode: " " } }