From 341245067f36ae2f4c92e4559d12713a15bba261 Mon Sep 17 00:00:00 2001 From: Jamie Rees Date: Mon, 18 May 2020 23:05:03 +0100 Subject: [PATCH] removed ngb --- src/Ombi/ClientApp/package.json | 3 +-- src/Ombi/ClientApp/src/app/app.module.ts | 2 -- .../src/app/discover/components/discover/discover.component.ts | 1 + src/Ombi/ClientApp/src/app/settings/settings.module.ts | 3 --- .../ClientApp/src/app/usermanagement/usermanagement.module.ts | 2 -- src/Ombi/ClientApp/src/app/vote/vote.module.ts | 2 -- 6 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Ombi/ClientApp/package.json b/src/Ombi/ClientApp/package.json index 904c1806f..0aa0044ee 100644 --- a/src/Ombi/ClientApp/package.json +++ b/src/Ombi/ClientApp/package.json @@ -26,7 +26,6 @@ "@auth0/angular-jwt": "^2.1.0", "@fullcalendar/core": "^4.2.0", "@fullcalendar/interaction": "^4.2.0", - "@ng-bootstrap/ng-bootstrap": "^4.0.1", "@ngu/carousel": "^1.4.9-beta-2", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", @@ -45,7 +44,7 @@ "moment": "^2.23.0", "ng2-cookies": "^1.0.12", "ngx-clipboard": "^12.1.0", - "ngx-infinite-scroll": "^7.1.0", + "ngx-infinite-scroll": "^9.0.0", "ngx-moment": "^3.0.1", "ngx-order-pipe": "^2.0.1", "please-wait": "^0.0.5", diff --git a/src/Ombi/ClientApp/src/app/app.module.ts b/src/Ombi/ClientApp/src/app/app.module.ts index 1de47426d..16dfba6a8 100644 --- a/src/Ombi/ClientApp/src/app/app.module.ts +++ b/src/Ombi/ClientApp/src/app/app.module.ts @@ -7,7 +7,6 @@ import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { RouterModule, Routes } from "@angular/router"; import { JwtModule } from "@auth0/angular-jwt"; -import { NgbModule } from "@ng-bootstrap/ng-bootstrap"; import { TranslateLoader, TranslateModule } from "@ngx-translate/core"; import { TranslateHttpLoader } from "@ngx-translate/http-loader"; import { CookieService } from "ng2-cookies"; @@ -125,7 +124,6 @@ export function JwtTokenGetter() { DialogModule, MatButtonModule, NavbarModule, - NgbModule.forRoot(), MatCardModule, MatInputModule, MatTabsModule, diff --git a/src/Ombi/ClientApp/src/app/discover/components/discover/discover.component.ts b/src/Ombi/ClientApp/src/app/discover/components/discover/discover.component.ts index a3c227639..a92d92c5f 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/discover/discover.component.ts +++ b/src/Ombi/ClientApp/src/app/discover/components/discover/discover.component.ts @@ -71,6 +71,7 @@ export class DiscoverComponent implements OnInit { } public async onScroll() { + console.log("scrolled"); if (!this.contentLoaded) { return; } diff --git a/src/Ombi/ClientApp/src/app/settings/settings.module.ts b/src/Ombi/ClientApp/src/app/settings/settings.module.ts index 4943ef6f5..58ceb9c64 100644 --- a/src/Ombi/ClientApp/src/app/settings/settings.module.ts +++ b/src/Ombi/ClientApp/src/app/settings/settings.module.ts @@ -2,7 +2,6 @@ import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { FormsModule, ReactiveFormsModule } from "@angular/forms"; import { RouterModule, Routes } from "@angular/router"; -import { NgbAccordionModule, NgbModule } from "@ng-bootstrap/ng-bootstrap"; // import { TagInputModule } from "ngx-chips"; import { ClipboardModule } from "ngx-clipboard"; @@ -116,9 +115,7 @@ const routes: Routes = [ MenuModule, InputSwitchModule, InputTextModule, - NgbModule, TooltipModule, - NgbAccordionModule, AutoCompleteModule, CalendarModule, // TagInputModule, diff --git a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.module.ts b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.module.ts index 80cf1af7e..3ac5aed21 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.module.ts +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.module.ts @@ -7,7 +7,6 @@ import { MultiSelectModule } from "primeng/multiselect"; import { SidebarModule } from "primeng/sidebar"; import { TooltipModule } from "primeng/tooltip"; -import { NgbModule } from "@ng-bootstrap/ng-bootstrap"; import { UpdateDetailsComponent } from "./updatedetails.component"; import { UserManagementUserComponent } from "./usermanagement-user.component"; @@ -35,7 +34,6 @@ const routes: Routes = [ FormsModule, ReactiveFormsModule, RouterModule.forChild(routes), - NgbModule.forRoot(), MultiSelectModule, PipeModule, ConfirmDialogModule, diff --git a/src/Ombi/ClientApp/src/app/vote/vote.module.ts b/src/Ombi/ClientApp/src/app/vote/vote.module.ts index e8fc7d608..30727b41a 100644 --- a/src/Ombi/ClientApp/src/app/vote/vote.module.ts +++ b/src/Ombi/ClientApp/src/app/vote/vote.module.ts @@ -1,7 +1,6 @@ import { NgModule } from "@angular/core"; import { RouterModule, Routes } from "@angular/router"; -import { NgbModule } from "@ng-bootstrap/ng-bootstrap"; import { OrderModule } from "ngx-order-pipe"; import { OverlayPanelModule } from "primeng/overlaypanel"; import { TabViewModule } from "primeng/tabview"; @@ -21,7 +20,6 @@ const routes: Routes = [ @NgModule({ imports: [ RouterModule.forChild(routes), - NgbModule.forRoot(), OrderModule, OmbiShared, TabViewModule,