mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
(Calendar App) cleaning.
This commit is contained in:
parent
c4a08dc939
commit
5bd2b32f22
|
@ -5,12 +5,13 @@ 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 : '**',
|
||||||
resolve: {
|
component: CalendarComponent,
|
||||||
|
children : [],
|
||||||
|
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
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<p>
|
|
||||||
event-detail works!
|
|
||||||
</p>
|
|
|
@ -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()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user