From 00c5e5d4e981e62073512482ca803e4969bfc2a8 Mon Sep 17 00:00:00 2001 From: Anderson Martins Date: Fri, 15 Dec 2023 11:48:49 -0300 Subject: [PATCH] Fix the selected item on select boxes in the calendar, #1508 --- modules/calendar/lib/async-calendar/js/Select.jsx | 3 ++- modules/calendar/lib/async-calendar/js/index.min.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/calendar/lib/async-calendar/js/Select.jsx b/modules/calendar/lib/async-calendar/js/Select.jsx index fff0870e..5f2dd303 100644 --- a/modules/calendar/lib/async-calendar/js/Select.jsx +++ b/modules/calendar/lib/async-calendar/js/Select.jsx @@ -86,7 +86,7 @@ export default function Select(props) { if (props.options) { options = props.options.map(option => { - return + return }); } @@ -98,6 +98,7 @@ export default function Select(props) { className += props.metadata ? 'pp-calendar-form-metafied ' + props.post_types : ''; return (