diff --git a/src/app/config/defaultConfigs.ts b/src/app/config/defaultConfigs.ts index 34009c4d..3b4e2bfe 100644 --- a/src/app/config/defaultConfigs.ts +++ b/src/app/config/defaultConfigs.ts @@ -40,6 +40,9 @@ export const defaultTimeOfDay: TimeSlices[] = (() => { export const otherTimeOfDay: TimeSlices[] = (() => { return [...otherSlicesOfDay] })(); +export const moreTimeOfDay: TimeSlices[] = (() => { + return [...otherSlicesOfDay] +})(); export const defaultDates: DateChoice[] = [ { literal: `${currentYear}-${currentMonth}-${currentDay}`, @@ -62,17 +65,17 @@ export const otherDefaultDates: DateChoice[] = [ { literal: `${currentYear}-${currentMonth}-${currentDay}`, date_object: new Date(), - timeList: otherTimeOfDay + timeList: defaultTimeOfDay }, { literal: `${currentYear}-${currentMonth}-${currentDay + 1}`, date_object: new Date(currentYear, currentMonth, currentDay + 1), - timeList: defaultTimeOfDay + timeList: otherTimeOfDay }, { literal: `${currentYear}-${currentMonth}-${currentDay + 2}`, date_object: new Date(), - timeList: otherTimeOfDay + timeList: moreTimeOfDay } ]; export const defaultAnswers: PollAnswer[] = [{ diff --git a/src/app/pages/dates/dates.component.html b/src/app/pages/dates/dates.component.html index 7b00ee46..90c8258c 100644 --- a/src/app/pages/dates/dates.component.html +++ b/src/app/pages/dates/dates.component.html @@ -183,10 +183,6 @@ *ngIf=" 'true' === config.allowSeveralHours" class="several-times" > -
-                    choice.timeList :
-                        {{choice.timeList|json}}
-                    

Several hours