diff --git a/src/Ombi/ClientApp/app/recentlyAdded/recentlyAdded.component.ts b/src/Ombi/ClientApp/app/recentlyAdded/recentlyAdded.component.ts index 2d5ec2bd6..bd34c9851 100644 --- a/src/Ombi/ClientApp/app/recentlyAdded/recentlyAdded.component.ts +++ b/src/Ombi/ClientApp/app/recentlyAdded/recentlyAdded.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from "@angular/core"; -import { NguCarousel } from "@ngu/carousel"; +import { NguCarouselConfig } from "@ngu/carousel"; import { ImageService, RecentlyAddedService } from "../services"; import { IRecentlyAddedMovies, IRecentlyAddedTvShows } from "./../interfaces"; @@ -43,7 +43,7 @@ export class RecentlyAddedComponent implements OnInit { public groupTv: boolean = false; // https://github.com/sheikalthaf/ngu-carousel - public carouselTile: NguCarousel; + public carouselTile: NguCarouselConfig; constructor(private recentlyAddedService: RecentlyAddedService, private imageService: ImageService) {} diff --git a/src/Ombi/package.json b/src/Ombi/package.json index 41550b14c..b51f76523 100644 --- a/src/Ombi/package.json +++ b/src/Ombi/package.json @@ -26,7 +26,7 @@ "@auth0/angular-jwt": "^2.0.0", "@ng-bootstrap/ng-bootstrap": "^2.2.0", "@ngtools/webpack": "^6.1.0-beta.2", - "@ngu/carousel": "^1.4.8", + "@ngu/carousel": "^1.4.9-beta-2", "@ngx-translate/core": "^10.0.2", "@ngx-translate/http-loader": "^3.0.1", "@types/core-js": "^2.5.0", @@ -69,7 +69,6 @@ "reflect-metadata": "^0.1.12", "run-sequence": "^2.2.1", "rxjs": "^6.2.1", - "rxjs-compat": "^6.2.1", "sass-loader": "^7.0.3", "style-loader": "^0.21.0", "to-string-loader": "^1.1.5", diff --git a/src/Ombi/webpack.config.vendor.ts b/src/Ombi/webpack.config.vendor.ts index 319f73bfc..d0a34cd72 100644 --- a/src/Ombi/webpack.config.vendor.ts +++ b/src/Ombi/webpack.config.vendor.ts @@ -51,7 +51,6 @@ module.exports = (env: any) => { "@ngx-translate/core", "@ngx-translate/http-loader", "ngx-order-pipe", - "rxjs-compat", // only needed for ngu-carousel https://github.com/sheikalthaf/ngu-carousel/issues/47 ]), }, plugins: prod ? [] : [ diff --git a/src/Ombi/yarn.lock b/src/Ombi/yarn.lock index 162b1461f..2fed0fb72 100644 --- a/src/Ombi/yarn.lock +++ b/src/Ombi/yarn.lock @@ -112,9 +112,9 @@ tree-kill "^1.0.0" webpack-sources "^1.1.0" -"@ngu/carousel@^1.4.8": - version "1.4.8" - resolved "https://registry.yarnpkg.com/@ngu/carousel/-/carousel-1.4.8.tgz#102a2472e319fa2c048d59b5c1c347f2ef60f922" +"@ngu/carousel@^1.4.9-beta-2": + version "1.4.9-beta-2" + resolved "https://registry.yarnpkg.com/@ngu/carousel/-/carousel-1.4.9-beta-2.tgz#69da71805ab5dc45fd5ff9625f1970f84dbf8fcb" "@ngx-translate/core@^10.0.2": version "10.0.2" @@ -5050,10 +5050,6 @@ rx@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" -rxjs-compat@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.2.1.tgz#f5a5e4bd700db414e82aa7cb34e5c9222c6d3756" - rxjs@^6.0.0, rxjs@^6.1.0, rxjs@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.2.1.tgz#246cebec189a6cbc143a3ef9f62d6f4c91813ca1"