From 0461ca176de3f1aad222105a1393882264bb8f80 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 8 Oct 2024 13:49:59 +0200 Subject: [PATCH] Fix: actually use prefix and postfix --- src/UI/InputElement/Helpers/OpeningHoursInput.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/UI/InputElement/Helpers/OpeningHoursInput.svelte b/src/UI/InputElement/Helpers/OpeningHoursInput.svelte index 2b82a9cad..494ef9f30 100644 --- a/src/UI/InputElement/Helpers/OpeningHoursInput.svelte +++ b/src/UI/InputElement/Helpers/OpeningHoursInput.svelte @@ -3,13 +3,10 @@ * Opens the 'Opening hours input' in another top level window */ import { UIEventSource } from "../../../Logic/UIEventSource" - import ToSvelte from "../../Base/ToSvelte.svelte" - import OpeningHoursInput from "../../OpeningHours/OpeningHoursState" import PublicHolidaySelector from "../../OpeningHours/PublicHolidaySelector.svelte" import OHTable from "./OpeningHours/OHTable.svelte" import OpeningHoursState from "../../OpeningHours/OpeningHoursState" import Popup from "../../Base/Popup.svelte" - import CheckCircle from "@babeard/svelte-heroicons/mini/CheckCircle" import Check from "@babeard/svelte-heroicons/mini/Check" export let value: UIEventSource @@ -31,7 +28,7 @@ } } - const state = new OpeningHoursState(value) + const state = new OpeningHoursState(value, prefix, postfix) let expanded = new UIEventSource(false)