diff --git a/contrib/occtax/frontend/app/occtax-form/occtax-form.service.ts b/contrib/occtax/frontend/app/occtax-form/occtax-form.service.ts index eee344f565..8e553112e9 100644 --- a/contrib/occtax/frontend/app/occtax-form/occtax-form.service.ts +++ b/contrib/occtax/frontend/app/occtax-form/occtax-form.service.ts @@ -122,17 +122,16 @@ export class OcctaxFormService { } addOccurrenceData(occurrence): void { - let occtaxData = this.occtaxData.getValue(); + const occtaxData = this.occtaxData.getValue(); if (!occtaxData.releve.properties.t_occurrences_occtax) { occtaxData.releve.properties.t_occurrences_occtax = []; } occtaxData.releve.properties.t_occurrences_occtax.push(occurrence); - this.occtaxData.next(occtaxData); } removeOccurrenceData(id_occurrence): void { - let occtaxData = this.occtaxData.getValue(); + const occtaxData = this.occtaxData.getValue(); if (occtaxData.releve.properties.t_occurrences_occtax) { for (let i = 0; i < occtaxData.releve.properties.t_occurrences_occtax.length; i++) { if ( @@ -144,7 +143,6 @@ export class OcctaxFormService { } } } - this.occtaxData.next(occtaxData); } replaceOccurrenceData(occurrence): void { diff --git a/frontend/src/app/GN2CommonModule/form/dynamic-form/dynamic-form.component.html b/frontend/src/app/GN2CommonModule/form/dynamic-form/dynamic-form.component.html index 04200a1793..2fd0925e68 100644 --- a/frontend/src/app/GN2CommonModule/form/dynamic-form/dynamic-form.component.html +++ b/frontend/src/app/GN2CommonModule/form/dynamic-form/dynamic-form.component.html @@ -11,7 +11,7 @@ 'number', 'file', 'medias', - 'bool_radio' + 'bool_radio', ].includes(formDefComp['type_widget']) " > diff --git a/frontend/src/app/shared/discussionCardModule/discussion-card.component.html b/frontend/src/app/shared/discussionCardModule/discussion-card.component.html index 519569ac7f..f2fe7571ba 100644 --- a/frontend/src/app/shared/discussionCardModule/discussion-card.component.html +++ b/frontend/src/app/shared/discussionCardModule/discussion-card.component.html @@ -117,7 +117,7 @@ color: ['0', '6'].includes(comment.cd_nomenclature) ? 'darkslategray' : 'white', border: ['0', '6'].includes(comment.cd_nomenclature) ? '1px solid rgba(0,0,0,0.2)' - : 'none' + : 'none', }" > {{ comment.label_default }} diff --git a/frontend/src/app/shared/syntheseSharedModule/synthese-info-obs/synthese-info-obs.component.html b/frontend/src/app/shared/syntheseSharedModule/synthese-info-obs/synthese-info-obs.component.html index 876ef0408a..8aa9d646a1 100644 --- a/frontend/src/app/shared/syntheseSharedModule/synthese-info-obs/synthese-info-obs.component.html +++ b/frontend/src/app/shared/syntheseSharedModule/synthese-info-obs/synthese-info-obs.component.html @@ -25,7 +25,7 @@ aria-label="Close" (click)="activeModal.dismiss('Cross click')" [ngStyle]="{ - outlineWidth: '0px' + outlineWidth: '0px', }" data-qa="synthese-info-obs-close-btn" >