1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

[SG-232 & SG-251] Fix color issues with organization badge (#1649)

* Fix color issues with organization badge

* Use tokenService to get account name

* Remove unused import
This commit is contained in:
Robyn MacCallum
2022-05-10 07:15:29 -04:00
committed by GitHub
parent 2c609fc6fd
commit 474df5ba5e
4 changed files with 17 additions and 20 deletions

View File

@@ -10,6 +10,7 @@ import { PasswordRepromptService } from "jslib-common/abstractions/passwordRepro
import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service";
import { SearchService } from "jslib-common/abstractions/search.service";
import { StateService } from "jslib-common/abstractions/state.service";
import { TokenService } from "jslib-common/abstractions/token.service";
import { TotpService } from "jslib-common/abstractions/totp.service";
import { Organization } from "jslib-common/models/domain/organization";
import { CipherView } from "jslib-common/models/view/cipherView";
@@ -33,13 +34,14 @@ export class CiphersComponent extends BaseCiphersComponent {
i18nService: I18nService,
platformUtilsService: PlatformUtilsService,
cipherService: CipherService,
private apiService: ApiService,
eventService: EventService,
totpService: TotpService,
passwordRepromptService: PasswordRepromptService,
logService: LogService,
stateService: StateService,
organizationService: OrganizationService
organizationService: OrganizationService,
tokenService: TokenService,
private apiService: ApiService
) {
super(
searchService,
@@ -51,7 +53,8 @@ export class CiphersComponent extends BaseCiphersComponent {
stateService,
passwordRepromptService,
logService,
organizationService
organizationService,
tokenService
);
}