diff --git a/src/app/app.component.html b/src/app/app.component.html index c714a878..222522b8 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -6,7 +6,7 @@ } - + @if(isProduction){ diff --git a/src/app/models/certification-standards.const.ts b/src/app/models/certification-standards.const.ts index c640351d..1a304f7f 100644 --- a/src/app/models/certification-standards.const.ts +++ b/src/app/models/certification-standards.const.ts @@ -1,6 +1,14 @@ export const certifications = [ + { id: 1, name: 'SecNumCloud', mandatory: false , domesupported: true}, + { id: 2, name: 'BSI-C5', mandatory: false, domesupported: true }, + { id: 3, name: 'CISPE', mandatory: false, domesupported: true }, + { id: 4, name: 'EU Cloud CoC', mandatory: false, domesupported: true }, + { id: 5, name: 'CSA CCM', mandatory: false, domesupported: true }, + { id: 6, name: 'ISO/IEC 27001', mandatory: false, domesupported: true }, + { id: 7, name: 'TISAX', mandatory: false, domesupported: true }, + { id: 8, name: 'SWIPO', mandatory: false, domesupported: true }, //Information security - { id: 1, name: 'ISO 22301:2019', mandatory: false , domesupported: true}, + /*{ id: 1, name: 'ISO 22301:2019', mandatory: false , domesupported: true}, { id: 2, name: 'ISO/IEC 27000:2018', mandatory: false, domesupported: true }, { id: 3, name: 'ISO/IEC 27001:2022', mandatory: false, domesupported: true }, { id: 4, name: 'ISO/IEC 27002:2022', mandatory: false, domesupported: true }, @@ -24,5 +32,5 @@ export const certifications = [ //Service level agreement { id: 18, name: 'ISO/IEC 19086-1:201', mandatory: false, domesupported: false }, { id: 19, name: 'ISO/IEC 19086-2:2018', mandatory: false, domesupported: false }, - { id: 20, name: 'ISO/IEC 19086-3:2017', mandatory: false, domesupported: false } + { id: 20, name: 'ISO/IEC 19086-3:2017', mandatory: false, domesupported: false }*/ ] \ No newline at end of file diff --git a/src/app/pages/product-details/product-details.component.html b/src/app/pages/product-details/product-details.component.html index d49df8b1..b44d7b68 100644 --- a/src/app/pages/product-details/product-details.component.html +++ b/src/app/pages/product-details/product-details.component.html @@ -230,11 +230,11 @@

+ } @else if(complianceLevel=='P') { - + } @else { - + }

{{ complianceDescription }} diff --git a/src/app/pages/product-details/product-details.component.ts b/src/app/pages/product-details/product-details.component.ts index cdd73dd2..16e6fcd4 100644 --- a/src/app/pages/product-details/product-details.component.ts +++ b/src/app/pages/product-details/product-details.component.ts @@ -265,6 +265,7 @@ export class ProductDetailsComponent implements OnInit { } } } + if(this.prodSpec.serviceSpecification != undefined){ for(let j=0; j < this.prodSpec.serviceSpecification.length; j++){ let serv = await this.api.getServiceSpec(this.prodSpec.serviceSpecification[j].id); @@ -273,7 +274,7 @@ export class ProductDetailsComponent implements OnInit { } if(this.prodSpec.resourceSpecification != undefined){ for(let j=0; j < this.prodSpec.resourceSpecification.length; j++){ - let res = this.api.getResourceSpec(this.prodSpec.resourceSpecification[j].id); + let res = await this.api.getResourceSpec(this.prodSpec.resourceSpecification[j].id); this.resourceSpecs.push(res); } } diff --git a/src/app/shared/feedback-modal/feedback-modal.component.ts b/src/app/shared/feedback-modal/feedback-modal.component.ts index 438d93c8..4dcd63e3 100644 --- a/src/app/shared/feedback-modal/feedback-modal.component.ts +++ b/src/app/shared/feedback-modal/feedback-modal.component.ts @@ -5,6 +5,7 @@ import { FeedbackServiceService } from "src/app/services/feedback-service.servic import {LocalStorageService} from "../../services/local-storage.service"; import { lastValueFrom } from 'rxjs'; import { FeedbackInfo } from 'src/app/models/interfaces'; +import { environment } from 'src/environments/environment'; @Component({ selector: 'feedback-modal', @@ -81,6 +82,13 @@ export class FeedbackModalComponent implements OnInit { } hide(){ + let feedbackInfo = this.localStorage.getObject('feedback') as FeedbackInfo; + let expiration = feedbackInfo?.expire ?? environment?.feedbackCampaignExpiration ?? 0; + let wantsFeedback : FeedbackInfo = { + "expire": expiration, + "approval": false + } + this.localStorage.setObject('feedback',wantsFeedback) this.eventMessage.emitCloseFeedback(true); } diff --git a/src/app/shared/forms/markdown-textarea/markdown-textarea.component.ts b/src/app/shared/forms/markdown-textarea/markdown-textarea.component.ts index 169f3f07..f66ee961 100644 --- a/src/app/shared/forms/markdown-textarea/markdown-textarea.component.ts +++ b/src/app/shared/forms/markdown-textarea/markdown-textarea.component.ts @@ -93,6 +93,7 @@ export class MarkdownTextareaComponent implements ControlValueAccessor { addEmoji(event:any){ this.showEmoji=false; this.value += event.emoji.native + this.onChange(this.value); } addMarkdownTag(tag: string): void {