ignore metadata improvements
This commit is contained in:
@@ -15,16 +15,14 @@ export class PageComment implements OnInit {
|
||||
id: number;
|
||||
comment: any;
|
||||
notfound: boolean = false;
|
||||
ignoreSubcomments : string[] = ['entry'];
|
||||
|
||||
constructor(private commentService: CommentService,
|
||||
private route: ActivatedRoute) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
this.id = +this.route.snapshot.paramMap.get('id');
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
refresh() {
|
||||
this.commentService.getComment(this.id).subscribe((data) => {
|
||||
this.comment = data;
|
||||
}, (error) => {
|
||||
@@ -34,6 +32,4 @@ export class PageComment implements OnInit {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user