diff --git a/src/app/core/services/storage.service.ts b/src/app/core/services/storage.service.ts index 56067873..2fae53b3 100644 --- a/src/app/core/services/storage.service.ts +++ b/src/app/core/services/storage.service.ts @@ -34,7 +34,7 @@ export class StorageService { public dateList: DateChoice[] = otherDefaultDates; @LocalStorage() - public timeSlices: TimeSlices[] = basicSlicesOfDay; + public timeSlices: TimeSlices[]; @LocalStorage() public vote_stack: Stack = new Stack(); @@ -46,6 +46,7 @@ export class StorageService { this.userPolls.push( new Poll(new Owner(), 'Démo: Réunion du département des chatons', 'aujourdhui-ou-demain') ); + // this.timeSlices = basicSlicesOfDay; } } diff --git a/src/app/features/administration/form/date-select/date-select.component.html b/src/app/features/administration/form/date-select/date-select.component.html index 6127ebc3..5492843c 100644 --- a/src/app/features/administration/form/date-select/date-select.component.html +++ b/src/app/features/administration/form/date-select/date-select.component.html @@ -4,14 +4,6 @@ {{ 'choices.title' | translate }} {{ 'dates.add' | translate }} -

- - {{ 'choices.helper' | translate }} - -

- {{ 'choices.answer_preset_1' | translate }} - {{ 'choices.add' | translate }} - {{ 'choices.continue' | translate }} +
-
+

Dates

-
- {{ id }}) +
- - - -
@@ -62,6 +55,29 @@
+ +

+ + {{ 'choices.helper' | translate }} + +

+ {{ 'choices.answer_preset_1' | translate }} + {{ 'choices.add' | translate }} + {{ 'choices.continue' | translate }} + + + +