diff --git a/configuration/homeScreen-configuration.js b/configuration/homeScreen-configuration.js
index 3d9455e..4cfbaa3 100644
--- a/configuration/homeScreen-configuration.js
+++ b/configuration/homeScreen-configuration.js
@@ -1997,6 +1997,17 @@
// Additional fields for default sections
let additionalFieldsHTML = '';
if (isDefaultSection) {
+ // Check if this is a seasonal section based on the section id and add the Start Date and End Date fields
+ if (section.id.startsWith('seasonal.')) {
+ additionalFieldsHTML += `
+
+
Seasonal
+ ${buildTextInput('section-startDate', section.startDate || '', 'Start Date (MM-DD)', 'text')}
+ ${buildTextInput('section-endDate', section.endDate || '', 'End Date (MM-DD)', 'text')}
+
+ `;
+ }
+
if (defaultFields.includeSortOrder) {
const sortBy = section.queries?.[0]?.queryOptions?.SortBy || 'Random';
const sortOrder = section.queries?.[0]?.queryOptions?.SortOrder || 'Ascending';
@@ -2700,6 +2711,12 @@
if (discoveryEnabledToggle) {
section.discoveryEnabled = discoveryEnabledToggle.dataset.enabled === 'true';
}
+
+ // Check if this is a seasonal section based on the section id and add the Start Date and End Date fields
+ if (section.id.startsWith('seasonal.')) {
+ section.startDate = dialog.querySelector('#section-startDate')?.value || section.startDate;
+ section.endDate = dialog.querySelector('#section-endDate')?.value || section.endDate;
+ }
return section;
}