(Calendar App) cleaning.

This commit is contained in:
mustafahlvc 2017-08-03 00:46:56 +03:00
parent c4a08dc939
commit 5bd2b32f22
4 changed files with 6 additions and 28 deletions

View File

@ -5,11 +5,12 @@ import { CalendarComponent } from './calendar.component';
import { CalendarService } from './calendar.service'; import { CalendarService } from './calendar.service';
import { CalendarModule } from 'angular-calendar'; import { CalendarModule } from 'angular-calendar';
import { EventFormDialogComponent } from './event-form/event-form.component'; import { EventFormDialogComponent } from './event-form/event-form.component';
import { EventDetailDialogComponent } from './event-detail/event-detail.component';
const routes: Routes = [ const routes: Routes = [
{ {
path : '**', component: CalendarComponent, children: [], path : '**',
component: CalendarComponent,
children : [],
resolve : { resolve : {
chat: CalendarService chat: CalendarService
} }
@ -24,13 +25,12 @@ const routes: Routes = [
], ],
declarations : [ declarations : [
CalendarComponent, CalendarComponent,
EventFormDialogComponent, EventFormDialogComponent
EventDetailDialogComponent,
], ],
providers : [ providers : [
CalendarService CalendarService
], ],
entryComponents: [EventFormDialogComponent, EventDetailDialogComponent] entryComponents: [EventFormDialogComponent]
}) })
export class FuseCalendarModule export class FuseCalendarModule
{ {

View File

@ -1,3 +0,0 @@
<p>
event-detail works!
</p>

View File

@ -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()
{
}
}