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.
27 lines
719 B
27 lines
719 B
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
|
|
*/
|
|
|
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
import { ActivatedRoute } from '@angular/router';
|
|
|
|
import { HelpService } from '@app/shared/internal';
|
|
|
|
@Component({
|
|
selector: 'sqx-help',
|
|
styleUrls: ['./help.component.scss'],
|
|
templateUrl: './help.component.html',
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
})
|
|
export class HelpComponent {
|
|
public helpMarkdown = this.helpService.getHelp(this.route.snapshot.data['helpPage']);
|
|
|
|
constructor(
|
|
private readonly helpService: HelpService,
|
|
private readonly route: ActivatedRoute
|
|
) {
|
|
}
|
|
}
|