@Component({
selector: 'my-support-modal',
- templateUrl: './support-modal.component.html',
- styleUrls: [ './support-modal.component.scss' ]
+ templateUrl: './support-modal.component.html'
})
export class SupportModalComponent {
@Input() video: VideoDetails = null
const support = this.video?.support || this.videoChannel.support
this.markdownService.enhancedMarkdownToHTML(support)
- .then(r => this.htmlSupport = r)
+ .then(r => {
+ this.htmlSupport = r
+ })
this.displayName = this.video
? this.video.channel.displayName