1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[AC-2558] Provider Admin still sees manage billing options - not the provided image (#9048)

* Fix the issue of provider admin not seeing the image

* Resolve the  case and ternary operator comment
This commit is contained in:
cyprain-okeke
2024-05-06 20:21:11 +01:00
committed by GitHub
parent ff3021129e
commit 425c7914b0
3 changed files with 13 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
import { BaseResponse } from "../../../../models/response/base.response";
import { ProviderType } from "../../../enums";
export class ProviderResponse extends BaseResponse {
id: string;
@@ -6,6 +7,7 @@ export class ProviderResponse extends BaseResponse {
businessName: string;
billingEmail: string;
creationDate: Date;
type: ProviderType;
constructor(response: any) {
super(response);
@@ -14,5 +16,6 @@ export class ProviderResponse extends BaseResponse {
this.businessName = this.getResponseProperty("BusinessName");
this.billingEmail = this.getResponseProperty("BillingEmail");
this.creationDate = this.getResponseProperty("CreationDate");
this.type = this.getResponseProperty("Type");
}
}