Skip to content

Commit

Permalink
replace ngx-virtual-scroller with iharbeck/ngx-virtual-scroller
Browse files Browse the repository at this point in the history
  • Loading branch information
whyboris committed Oct 22, 2024
1 parent f34a612 commit 023207f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 29 deletions.
41 changes: 17 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
},
"dependencies": {
"@ffprobe-installer/ffprobe": "2.1.2",
"@iharbeck/ngx-virtual-scroller": "17.0.2",
"@ngx-translate/core": "15.0.0",
"an-qrcode": "1.0.7",
"async": "3.2.6",
Expand All @@ -57,7 +58,6 @@
"fuse.js": "7.0.0",
"ip": "2.0.1",
"natural-orderby": "4.0.0",
"ngx-virtual-scroller": "4.0.3",
"path": "0.12.7",
"trash": "7.2.0",
"tslib": "2.8.0",
Expand All @@ -79,6 +79,7 @@
"@angular/platform-browser": "18.2.8",
"@angular/platform-browser-dynamic": "18.2.8",
"@angular/router": "18.2.8",
"@tweenjs/tween.js": "25.0.0",
"@types/node": "22.7.8",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import '../polyfills';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient } from '@angular/common/http';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
Expand All @@ -15,7 +15,7 @@ import { AnQrcodeModule } from 'an-qrcode';
import { MatDialogModule } from '@angular/material/dialog';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { TranslateModule } from '@ngx-translate/core';
import { VirtualScrollerModule } from 'ngx-virtual-scroller';
import { VirtualScrollerModule } from '@iharbeck/ngx-virtual-scroller';

// Services
import { AutoTagsSaveService } from './components/tags-auto/tags-save.service';
Expand Down Expand Up @@ -193,13 +193,13 @@ import { YearPipe } from './pipes/year.pipe';
BrowserAnimationsModule,
BrowserModule,
FormsModule,
HttpClientModule,
MatDialogModule,
MatSnackBarModule,
TranslateModule.forRoot(),
VirtualScrollerModule,
],
providers: [
provideHttpClient(),
AutoTagsSaveService,
AutoTagsService,
ElectronService,
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as path from 'path';

import { BehaviorSubject } from 'rxjs';
import { TranslateService } from '@ngx-translate/core';
import { VirtualScrollerComponent } from 'ngx-virtual-scroller';
import { VirtualScrollerComponent } from '@iharbeck/ngx-virtual-scroller';

// Services
import { AutoTagsSaveService } from './tags-auto/tags-save.service';
Expand Down

0 comments on commit 023207f

Please sign in to comment.