mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user