Skip to content

Commit

Permalink
feat: update prettier, and force version to 3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
edelclaux authored and TheoLechemia committed Nov 20, 2023
1 parent c6bbd85 commit 145ed2d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@types/node": "^18.0.0",
"cypress": "^13.4.0",
"cypress-promise": "^1.1.0",
"prettier": "^3.0.0",
"prettier": "~3.1.0",
"typescript": "4.9.4"
}
}
4 changes: 2 additions & 2 deletions frontend/src/app/GN2CommonModule/form/data-form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ export class DataFormService {
application === 'GeoNature'
? `${this.config.API_ENDPOINT}/${api}`
: application === 'TaxHub'
? `${this.config.API_TAXHUB}/${api}`
: api;
? `${this.config.API_TAXHUB}/${api}`
: api;

return this._http.get<any>(url, { params: queryString });
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ export class MediaComponent implements OnInit {
return this.media.sent
? ''
: this.mediaFormReadyToSend()
? 'Veuillez valider le média en appuyant sur le bouton de validation'
: this.media.bFile
? 'Veuillez compléter le formulaire et renseigner un fichier'
: 'Veuillez compléter le formulaire et Renseigner une URL valide';
? 'Veuillez valider le média en appuyant sur le bouton de validation'
: this.media.bFile
? 'Veuillez compléter le formulaire et renseigner un fichier'
: 'Veuillez compléter le formulaire et Renseigner une URL valide';
}

/**
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/metadataModule/actors/actors.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ export class ActorComponent implements OnInit {
this.actorForm.get('id_organism').value && this.actorForm.get('id_role').value
? 'all'
: this.actorForm.get('id_role').value
? 'person'
: 'organism';
? 'person'
: 'organism';

this.toggleActorOrganismChoiceChange({ value: btn });
}
Expand Down

0 comments on commit 145ed2d

Please sign in to comment.