Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrieuclp committed Nov 8, 2024
1 parent 3bdda83 commit a7fdbef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -144,7 +143,6 @@ export class OcctaxFormService {
}
}
}
this.occtaxData.next(occtaxData);
}

replaceOccurrenceData(occurrence): void {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'number',
'file',
'medias',
'bool_radio'
'bool_radio',
].includes(formDefComp['type_widget'])
"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
aria-label="Close"
(click)="activeModal.dismiss('Cross click')"
[ngStyle]="{
outlineWidth: '0px'
outlineWidth: '0px',
}"
data-qa="synthese-info-obs-close-btn"
>
Expand Down

0 comments on commit a7fdbef

Please sign in to comment.