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 @@
} @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 {