Skip to content

Commit

Permalink
PM-15070 removed type checking and assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
voommen-livefront committed Jan 15, 2025
1 parent 6ffe26a commit a913662
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// FIXME: Update this file to be type safe
// @ts-strict-ignore
import { Component, DestroyRef, inject, OnInit } from "@angular/core";

Check warning on line 1 in bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts#L1

Added line #L1 was not covered by tests
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
import { FormControl } from "@angular/forms";
import { ActivatedRoute } from "@angular/router";
import { combineLatest, debounceTime, map, Observable, of, skipWhile, Subscription } from "rxjs";
import { combineLatest, debounceTime, map, Observable, of, skipWhile } from "rxjs";

Check warning on line 5 in bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts#L5

Added line #L5 was not covered by tests

import {
CriticalAppsService,
Expand Down Expand Up @@ -63,7 +61,6 @@ export class AllApplicationsComponent implements OnInit {
noItemsIcon = Icons.Security;
protected markingAsCritical = false;
protected applicationSummary = {} as ApplicationHealthReportSummary;
private subscription = new Subscription();

destroyRef = inject(DestroyRef);
isLoading$: Observable<boolean> = of(false);
Expand Down Expand Up @@ -95,7 +92,9 @@ export class AllApplicationsComponent implements OnInit {
.subscribe(({ data, organization }) => {
this.dataSource.data = data ?? [];
this.applicationSummary = this.reportService.generateApplicationsSummary(data ?? []);
this.organization = organization;
if (organization) {
this.organization = organization;

Check warning on line 96 in bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts#L96

Added line #L96 was not covered by tests
}
});

this.isLoading$ = this.dataService.isLoading$;

Check warning on line 100 in bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts

View check run for this annotation

Codecov / codecov/patch

bitwarden_license/bit-web/src/app/tools/access-intelligence/all-applications.component.ts#L100

Added line #L100 was not covered by tests
Expand Down

0 comments on commit a913662

Please sign in to comment.