From d33377e17d42a65cedd9ec49bfe96e0919433249 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 25 Sep 2023 09:51:06 -0600 Subject: [PATCH] Fix date-duration did not show selected properly --- api/js/etemplate/Et2Date/Et2DateDuration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2Date/Et2DateDuration.ts b/api/js/etemplate/Et2Date/Et2DateDuration.ts index 200a0b0641..a68eb5caa7 100644 --- a/api/js/etemplate/Et2Date/Et2DateDuration.ts +++ b/api/js/etemplate/Et2Date/Et2DateDuration.ts @@ -611,14 +611,14 @@ export class Et2DateDuration extends Et2InputWidget(FormControlMixin(LitElement) }; // It would be nice to use an et2-select here, but something goes weird with the styling return html` - + ${[...this.displayFormat].map((format : string) => html` ${this.time_formats[format]} ` )} - + `; }