Skip to content

Commit

Permalink
WIP: move prefix to better location
Browse files Browse the repository at this point in the history
Signed-off-by: Bruce Ricard <bricard@vmware.com>
  • Loading branch information
Tallicia authored and bruce-ricard committed Aug 24, 2023
1 parent 14a1c40 commit 00a13b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ public void setCompanyName(String companyName) {

@Override
public String getProductLogo() {
return productLogo;
String logo = productLogo;
if ( logo != null ) {
logo = "data:image/png;base64," + logo;
}
return logo;
}

public void setProductLogo(String productLogo) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public String getCompanyName() {
@Override
public String getProductLogo() {
String logo = tryGet(IdentityZoneHolder.get(), BrandingInformationSource::getProductLogo).orElse(null);
if ( logo != null ) {
logo = "data:image/png;base64," + logo;
}
// if ( logo != null ) {
// logo = "data:image/png;base64," + logo;
// }
return logo;
}

Expand Down

0 comments on commit 00a13b6

Please sign in to comment.