...
 
Commits (2)
......@@ -31,9 +31,7 @@ export class CommentButton implements OnInit, OnDestroy {
protected cd: ChangeDetectorRef) {
}
ngOnInit() {
console.log('comment button init');
}
ngOnInit() { }
ngOnDestroy() { }
......
......@@ -4,6 +4,7 @@ import { Client } from '../../../../../services/api';
import { Session } from '../../../../../services/session';
import { AttachmentService } from '../../../../../services/attachment';
import { ActivityService } from '../../../../../common/services/activity.service';
@Component({
moduleId: module.id,
......@@ -13,6 +14,7 @@ import { AttachmentService } from '../../../../../services/attachment';
host: {
class: 'mdl-shadow--8dp'
},
providers: [ ActivityService ],
changeDetection: ChangeDetectionStrategy.OnPush,
})
......
......@@ -3,11 +3,13 @@ import { Component, ChangeDetectionStrategy, ChangeDetectorRef, EventEmitter, In
import { Client } from '../../../../../services/api';
import { Session } from '../../../../../services/session';
import { AttachmentService } from '../../../../../services/attachment';
import { ActivityService } from '../../../../../common/services/activity.service';
@Component({
moduleId: module.id,
selector: 'minds-remind',
inputs: ['object', '_events: events'],
providers: [ActivityService],
templateUrl: '../activity/activity.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
......