Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/app/pages/product-details/product-details.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ export class ProductDetailsComponent implements OnInit {
}

if(this.prodSpec.productSpecCharacteristic != undefined) {
// Avoid displaying the compliance credential
// Avoid displaying the compliance credential && Avoid showing "- enabled" chars
this.prodChars = this.prodSpec.productSpecCharacteristic.filter((char: any) => {
return char.name != 'Compliance:VC' && char.name != 'Compliance:SelfAtt'
return char.name != 'Compliance:VC' && char.name != 'Compliance:SelfAtt' && !char.name?.endsWith(' - enabled')
})

for(let i=0; i<certifications.length; i++){
Expand All @@ -264,6 +264,7 @@ export class ProductDetailsComponent implements OnInit {
this.prodChars.splice(index, 1);
}
}

}

if(this.prodSpec.serviceSpecification != undefined){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export class CreateProductSpecComponent implements OnInit {
}
let fileBody = {
content: {
name: prod_name+file.name,
name: uuidv4()+'_'+file.name,
data: base64String
},
contentType: file.type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export class UpdateProductSpecComponent implements OnInit {
}
let fileBody = {
content: {
name: prod_name+file.name,
name: uuidv4()+'_'+file.name,
data: base64String
},
contentType: file.type,
Expand Down
6 changes: 5 additions & 1 deletion src/app/themes/dome.theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const domeHeaderLinks: NavLink[] = [
label: 'HEADER._blog',
url: '/blog',
isRouterLink: true
},
{
label: 'FOOTER._contact',
url: '/contact-us',
isRouterLink: true
}
];

Expand All @@ -36,7 +41,6 @@ const domeFooterLinks: NavLink[] = [
{ label: 'FOOTER._privacy', url: 'assets/documents/privacy.pdf', isRouterLink: false },
{ label: 'FOOTER._cookies', url: 'assets/documents/cookies.pdf', isRouterLink: false },
{ label: 'FOOTER._licensing', url: 'assets/documents/terms.pdf', isRouterLink: false },
{ label: 'FOOTER._contact', url: '/contact-us', isRouterLink: true },
];


Expand Down
Loading