From eacca54ef20e34a8fff5353bd0854ab9cf882883 Mon Sep 17 00:00:00 2001 From: Ab30657 Date: Sun, 11 Apr 2021 15:59:53 +0545 Subject: update on image cards -css --- src/web/src/app/film/film.component.html | 6 +++++- src/web/src/app/film/film.component.ts | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src/web') diff --git a/src/web/src/app/film/film.component.html b/src/web/src/app/film/film.component.html index 273dab1..0619f72 100644 --- a/src/web/src/app/film/film.component.html +++ b/src/web/src/app/film/film.component.html @@ -43,7 +43,11 @@
diff --git a/src/web/src/app/film/film.component.ts b/src/web/src/app/film/film.component.ts index 6dac982..26dd507 100644 --- a/src/web/src/app/film/film.component.ts +++ b/src/web/src/app/film/film.component.ts @@ -52,4 +52,11 @@ export class FilmComponent implements OnInit { getPrice(i: number) { return this.prices[i]; } + + getProviderImage(i: number) { + console.log( + (this.providers[i] as string).toLowerCase().replace(/ /g, '') + ); + return (this.providers[i] as string).toLowerCase().replace(/ /g, ''); + } } -- cgit v1.2.3