(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,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
{

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