diff --git a/src/app/main/content/apps/calendar/calendar.module.ts b/src/app/main/content/apps/calendar/calendar.module.ts index d8b2733d..40a07297 100644 --- a/src/app/main/content/apps/calendar/calendar.module.ts +++ b/src/app/main/content/apps/calendar/calendar.module.ts @@ -5,12 +5,13 @@ import { CalendarComponent } from './calendar.component'; import { CalendarService } from './calendar.service'; import { CalendarModule } from 'angular-calendar'; import { EventFormDialogComponent } from './event-form/event-form.component'; -import { EventDetailDialogComponent } from './event-detail/event-detail.component'; const routes: Routes = [ { - path : '**', component: CalendarComponent, children: [], - resolve: { + path : '**', + component: CalendarComponent, + children : [], + resolve : { chat: CalendarService } } @@ -24,13 +25,12 @@ const routes: Routes = [ ], declarations : [ CalendarComponent, - EventFormDialogComponent, - EventDetailDialogComponent, + EventFormDialogComponent ], providers : [ CalendarService ], - entryComponents: [EventFormDialogComponent, EventDetailDialogComponent] + entryComponents: [EventFormDialogComponent] }) export class FuseCalendarModule { diff --git a/src/app/main/content/apps/calendar/event-detail/event-detail.component.html b/src/app/main/content/apps/calendar/event-detail/event-detail.component.html deleted file mode 100644 index 026b9043..00000000 --- a/src/app/main/content/apps/calendar/event-detail/event-detail.component.html +++ /dev/null @@ -1,3 +0,0 @@ -
- event-detail works! -
diff --git a/src/app/main/content/apps/calendar/event-detail/event-detail.component.scss b/src/app/main/content/apps/calendar/event-detail/event-detail.component.scss deleted file mode 100644 index e69de29b..00000000 diff --git a/src/app/main/content/apps/calendar/event-detail/event-detail.component.ts b/src/app/main/content/apps/calendar/event-detail/event-detail.component.ts deleted file mode 100644 index e9c91f28..00000000 --- a/src/app/main/content/apps/calendar/event-detail/event-detail.component.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Component, OnInit } from '@angular/core'; - -@Component({ - selector : 'fuse-calendar-event-detail-dialog', - templateUrl: './event-detail.component.html', - styleUrls : ['./event-detail.component.scss'] -}) -export class EventDetailDialogComponent implements OnInit -{ - - constructor() - { - } - - ngOnInit() - { - } - -}