From 97b654b4af771d29e29fbbff990de270cedfd4ca Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Wed, 11 Aug 2021 18:43:50 -0600 Subject: [PATCH] unset initial rating value --- .../app/entities/encuesta/complete/complete.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/webapp/app/entities/encuesta/complete/complete.component.ts b/src/main/webapp/app/entities/encuesta/complete/complete.component.ts index 74c8e04..f6b90f7 100644 --- a/src/main/webapp/app/entities/encuesta/complete/complete.component.ts +++ b/src/main/webapp/app/entities/encuesta/complete/complete.component.ts @@ -39,7 +39,7 @@ export class EncuestaCompleteComponent implements OnInit { selectedSingleOptions: any; selectedMultiOptions: any; error: boolean; - rating: Number; + rating?: Number; constructor( protected activatedRoute: ActivatedRoute, @@ -56,7 +56,6 @@ export class EncuestaCompleteComponent implements OnInit { this.selectedSingleOptions = {}; this.selectedMultiOptions = []; this.error = false; - this.rating = 5; } ngOnInit(): void {