mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
605 B
24 lines
605 B
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
|
|
*/
|
|
|
|
import { Component } from '@angular/core';
|
|
import { ActivatedRoute } from '@angular/router';
|
|
import { map } from 'rxjs/operators';
|
|
|
|
@Component({
|
|
selector: 'sqx-comments-page',
|
|
styleUrls: ['./comments-page.component.scss'],
|
|
templateUrl: './comments-page.component.html',
|
|
})
|
|
export class CommentsPageComponent {
|
|
public commentsId = this.route.parent!.params.pipe(map(x => x['contentId']));
|
|
|
|
constructor(
|
|
private readonly route: ActivatedRoute,
|
|
) {
|
|
}
|
|
}
|
|
|