1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[PM-12444] remove ngx infinite scroll dependency (#13056)

* replace provider clients components with vNext implementation

* remove ngx-infinite-scroll dependency

* fix ts strict errors
This commit is contained in:
Brandon Treston
2025-01-28 16:01:07 -05:00
committed by GitHub
parent d0018548ed
commit 222392d1fa
6 changed files with 1 additions and 22 deletions

View File

@@ -139,7 +139,7 @@ export class ClientsComponent {
async load() {
const response = await this.apiService.getProviderClients(this.providerId);
const userId = await firstValueFrom(getUserId(this.accountService.activeAccount$));
const userId = await firstValueFrom(this.accountService.activeAccount$.pipe(getUserId));
const clients = response.data != null && response.data.length > 0 ? response.data : [];
this.dataSource.data = clients;
this.manageOrganizations =

View File

@@ -4,7 +4,6 @@ import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { RouterModule } from "@angular/router";
import { InfiniteScrollDirective } from "ngx-infinite-scroll";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import { CoreModule } from "@bitwarden/web-vault/app/core";
@@ -37,7 +36,6 @@ import { AccessIntelligenceModule } from "./tools/access-intelligence/access-int
FormsModule,
ReactiveFormsModule,
CoreModule,
InfiniteScrollDirective,
DragDropModule,
AppRoutingModule,
OssRoutingModule,