]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
Improve user delete confirmation modal
[github/Chocobozzz/PeerTube.git] / client / src / app / +about / about-peertube / about-peertube-contributors.component.ts
CommitLineData
1eb23e12 1import { Component, OnInit } from '@angular/core'
67ed6552 2import { MarkdownService } from '@app/core'
1eb23e12
C
3
4@Component({
5 selector: 'my-about-peertube-contributors',
6 templateUrl: './about-peertube-contributors.component.html',
7 styleUrls: [ './about-peertube-contributors.component.scss' ]
8})
9export class AboutPeertubeContributorsComponent implements OnInit {
10 creditsHtml: string
11
c4f7fe09 12 private markdown = require('raw-loader!../../../../../CREDITS.md').default
1eb23e12
C
13
14 constructor (private markdownService: MarkdownService) { }
15
16 async ngOnInit () {
2539932e 17 this.creditsHtml = await this.markdownService.unsafeMarkdownToHTML(this.markdown, true)
1eb23e12
C
18 }
19}