mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 03:23:50 +00:00
Reports remove unneeded dependency on stateService (#4426)
This commit is contained in:
committed by
GitHub
parent
fa13cab220
commit
d138cb90ab
@@ -7,7 +7,6 @@ import { CipherService } from "@bitwarden/common/abstractions/cipher.service";
|
||||
import { MessagingService } from "@bitwarden/common/abstractions/messaging.service";
|
||||
import { OrganizationService } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||
import { PasswordRepromptService } from "@bitwarden/common/abstractions/passwordReprompt.service";
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { Cipher } from "@bitwarden/common/models/domain/cipher";
|
||||
import { CipherView } from "@bitwarden/common/models/view/cipher.view";
|
||||
|
||||
@@ -27,19 +26,11 @@ export class ExposedPasswordsReportComponent extends BaseExposedPasswordsReportC
|
||||
auditService: AuditService,
|
||||
modalService: ModalService,
|
||||
messagingService: MessagingService,
|
||||
stateService: StateService,
|
||||
private organizationService: OrganizationService,
|
||||
private route: ActivatedRoute,
|
||||
passwordRepromptService: PasswordRepromptService
|
||||
) {
|
||||
super(
|
||||
cipherService,
|
||||
auditService,
|
||||
modalService,
|
||||
messagingService,
|
||||
stateService,
|
||||
passwordRepromptService
|
||||
);
|
||||
super(cipherService, auditService, modalService, messagingService, passwordRepromptService);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
@@ -7,7 +7,6 @@ import { LogService } from "@bitwarden/common/abstractions/log.service";
|
||||
import { MessagingService } from "@bitwarden/common/abstractions/messaging.service";
|
||||
import { OrganizationService } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||
import { PasswordRepromptService } from "@bitwarden/common/abstractions/passwordReprompt.service";
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { CipherView } from "@bitwarden/common/models/view/cipher.view";
|
||||
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
@@ -23,20 +22,12 @@ export class InactiveTwoFactorReportComponent extends BaseInactiveTwoFactorRepor
|
||||
cipherService: CipherService,
|
||||
modalService: ModalService,
|
||||
messagingService: MessagingService,
|
||||
stateService: StateService,
|
||||
private route: ActivatedRoute,
|
||||
logService: LogService,
|
||||
passwordRepromptService: PasswordRepromptService,
|
||||
private organizationService: OrganizationService
|
||||
) {
|
||||
super(
|
||||
cipherService,
|
||||
modalService,
|
||||
messagingService,
|
||||
stateService,
|
||||
logService,
|
||||
passwordRepromptService
|
||||
);
|
||||
super(cipherService, modalService, messagingService, logService, passwordRepromptService);
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
|
||||
@@ -6,7 +6,6 @@ import { CipherService } from "@bitwarden/common/abstractions/cipher.service";
|
||||
import { MessagingService } from "@bitwarden/common/abstractions/messaging.service";
|
||||
import { OrganizationService } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||
import { PasswordRepromptService } from "@bitwarden/common/abstractions/passwordReprompt.service";
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { CipherView } from "@bitwarden/common/models/view/cipher.view";
|
||||
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
@@ -22,12 +21,11 @@ export class UnsecuredWebsitesReportComponent extends BaseUnsecuredWebsitesRepor
|
||||
cipherService: CipherService,
|
||||
modalService: ModalService,
|
||||
messagingService: MessagingService,
|
||||
stateService: StateService,
|
||||
private route: ActivatedRoute,
|
||||
private organizationService: OrganizationService,
|
||||
passwordRepromptService: PasswordRepromptService
|
||||
) {
|
||||
super(cipherService, modalService, messagingService, stateService, passwordRepromptService);
|
||||
super(cipherService, modalService, messagingService, passwordRepromptService);
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
|
||||
@@ -7,7 +7,6 @@ import { MessagingService } from "@bitwarden/common/abstractions/messaging.servi
|
||||
import { OrganizationService } from "@bitwarden/common/abstractions/organization/organization.service.abstraction";
|
||||
import { PasswordGenerationService } from "@bitwarden/common/abstractions/passwordGeneration.service";
|
||||
import { PasswordRepromptService } from "@bitwarden/common/abstractions/passwordReprompt.service";
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { Cipher } from "@bitwarden/common/models/domain/cipher";
|
||||
import { CipherView } from "@bitwarden/common/models/view/cipher.view";
|
||||
|
||||
@@ -27,7 +26,6 @@ export class WeakPasswordsReportComponent extends BaseWeakPasswordsReportCompone
|
||||
passwordGenerationService: PasswordGenerationService,
|
||||
modalService: ModalService,
|
||||
messagingService: MessagingService,
|
||||
stateService: StateService,
|
||||
private route: ActivatedRoute,
|
||||
private organizationService: OrganizationService,
|
||||
passwordRepromptService: PasswordRepromptService
|
||||
@@ -37,7 +35,6 @@ export class WeakPasswordsReportComponent extends BaseWeakPasswordsReportCompone
|
||||
passwordGenerationService,
|
||||
modalService,
|
||||
messagingService,
|
||||
stateService,
|
||||
passwordRepromptService
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user