From 74cfcdd31547142ca0decd392bd382e74dc0fb44 Mon Sep 17 00:00:00 2001 From: Pierre Ecarlat <pecarlat@grandlyon.com> Date: Wed, 14 Feb 2024 10:18:48 +0100 Subject: [PATCH] Fixed comments syntax --- .../member-card/member-card.component.ts | 14 +++++++------- .../components/card/card.component.ts | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/shared/components/member-card/member-card.component.ts b/src/app/shared/components/member-card/member-card.component.ts index e5d3d84c6..4e8926204 100644 --- a/src/app/shared/components/member-card/member-card.component.ts +++ b/src/app/shared/components/member-card/member-card.component.ts @@ -10,25 +10,25 @@ import { User, UserAnnuary } from '../../../models/user.model'; styleUrls: ['./member-card.component.scss'], }) export class MemberCardComponent implements OnInit { - // The user info to display + /** The user info to display */ @Input({ required: true }) public member: User | Owner | UserAnnuary; - // If true, shows the RDV icon if available + /** If true, shows the RDV icon if available */ @Input() public showAppointment = false; - // If true, shows the contact info (phone + email), if provided + /** If true, shows the contact info (phone + email), if provided */ @Input() public showContactInfo = true; - // If true, shows the employer + /** If true, shows the employer */ @Input() public showEmployer = true; - // If true, click event redirects to profile + /** If true, click event redirects to profile */ @Input() public redirectToProfile = true; - // If true, shows a radio button to select the card, disables the redirection to profile + /** If true, shows a radio button to select the card, disables the redirection to profile */ @Input() public showRadioButton = false; - // If true, checks the radioButton + /** If true, checks the radioButton */ @Input() public isChecked = false; @Output() public selectedCard = new EventEmitter<string>(); diff --git a/src/app/structure-list/components/card/card.component.ts b/src/app/structure-list/components/card/card.component.ts index 14f0f98c7..e45a2779c 100644 --- a/src/app/structure-list/components/card/card.component.ts +++ b/src/app/structure-list/components/card/card.component.ts @@ -9,23 +9,23 @@ import { ProfileService } from '../../../profile/services/profile.service'; styleUrls: ['./card.component.scss'], }) export class CardComponent implements OnInit { - // The structure element to display + /** The structure element to display */ @Input() public structure: Structure; - // If true, click event redirects to profile + /** If true, click event redirects to profile */ @Input() public redirectToStructure = true; - // If true, shows a radio button to select the card, disables the redirection to structure + /** If true, shows a radio button to select the card, disables the redirection to structure */ @Input() public showRadioButton = false; - // If true, checks the radioButton + /** If true, checks the radioButton */ @Input() public isChecked = false; - // If true, the form comes from the orientation + /** If true, the form comes from the orientation */ @Input() public isOrientation = false; - // If in orientation, when we add to list, the card becomes selected + /** If in orientation, when we add to list, the card becomes selected */ @Input() public isSelected = false; - // If true, the form comes from the orientation and will propose to reserve an appointment + /** If true, the form comes from the orientation and will propose to reserve an appointment */ @Input() public isOrientationRdv = false; @Output() public showDetails = new EventEmitter<Structure>(); -- GitLab