From 93c6fd2ce7f822059d66c905c193c5e07c39d6fc Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 30 Oct 2023 15:19:43 +0100 Subject: [PATCH] finish frontend(?) --- frontend/main.ts | 65 ++++++++++---------------- templates/includes/forms/log.html.tera | 4 +- templates/includes/macros.html.tera | 4 +- 3 files changed, 29 insertions(+), 44 deletions(-) diff --git a/frontend/main.ts b/frontend/main.ts index e17a717..abd5e5b 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -38,30 +38,21 @@ function selectBoatChange() { noResultsText: 'Keine Ergebnisse gefunden', noChoicesText: 'Keine Ergebnisse gefunden', itemSelectText: 'Zum Auswählen klicken', - callbackOnCreateTemplates: function () { - return { - option: ({ label, value, customProperties, active, disabled, }: any) => { - const opt: HTMLOptionElement = Choices.defaults.templates.option.call( - this, - { label, value, customProperties, active, disabled } - ); - - // We get the original