From 2d38af1c271d2eec6874697116c65d65408a6ecc Mon Sep 17 00:00:00 2001 From: benjamin Date: Sun, 5 Jan 2025 10:45:23 +0100 Subject: [PATCH] fix lint files #2 --- src/app/modules/guest/guest.component.ts | 3 ++- src/app/modules/shows/show/show.component.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/modules/guest/guest.component.ts b/src/app/modules/guest/guest.component.ts index 1e70fcb..1105b91 100644 --- a/src/app/modules/guest/guest.component.ts +++ b/src/app/modules/guest/guest.component.ts @@ -1,4 +1,4 @@ -import {Component} from '@angular/core'; +import {Component, CUSTOM_ELEMENTS_SCHEMA} from '@angular/core'; import {GuestShowDataService} from './guest-show-data.service'; import {ActivatedRoute} from '@angular/router'; import {map, switchMap} from 'rxjs/operators'; @@ -12,6 +12,7 @@ import {ShowTypePipe} from '../../widget-modules/pipes/show-type-translater/show selector: 'app-guest', templateUrl: './guest.component.html', styleUrls: ['./guest.component.less'], + schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [NgIf, NgFor, SongTextComponent, AsyncPipe, DatePipe, ShowTypePipe], }) export class GuestComponent { diff --git a/src/app/modules/shows/show/show.component.ts b/src/app/modules/shows/show/show.component.ts index e1c9951..d493ac9 100644 --- a/src/app/modules/shows/show/show.component.ts +++ b/src/app/modules/shows/show/show.component.ts @@ -1,4 +1,4 @@ -import {ChangeDetectorRef, Component, HostListener, OnDestroy, OnInit} from '@angular/core'; +import {ChangeDetectorRef, Component, CUSTOM_ELEMENTS_SCHEMA, HostListener, OnDestroy, OnInit} from '@angular/core'; import {filter, map, switchMap, tap} from 'rxjs/operators'; import {ActivatedRoute, Router} from '@angular/router'; import {ShowService} from '../services/show.service'; @@ -54,6 +54,7 @@ import {ShowTypePipe} from '../../../widget-modules/pipes/show-type-translater/s templateUrl: './show.component.html', styleUrls: ['./show.component.less'], animations: [fade], + schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [ NgIf, CardComponent,