Skip to content

Commit

Permalink
COM-3845: fix review minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Aude committed Dec 2, 2024
1 parent f816db3 commit 8423e0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/core/components/courses/AttendanceSheetEditionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<template #title>
Modifier la <span class="text-weight-bold">feuille d'émargement</span>
</template>
<ni-select :model-value="editedAttendanceSheet.trainee"
:options="traineeIdentity" disable />
<ni-select :model-value="editedAttendanceSheet.trainee" :options="traineeIdentity" disable />
<ni-option-group :model-value="editedAttendanceSheet.slots" in-modal required-field
@update:model-value="update($event, 'slots')" type="checkbox" inline :options="editionSlotOptions"
caption="Sélectionner les créneaux auxquels a été présent·e le/la participant·e" />
caption="Sélectionner les créneaux auxquels a été présent·e le/la participant·e"
:error="validations.slots.$error" />
<template #footer>
<ni-button class="full-width modal-btn bg-primary" label="Modifier la feuille d'émargement" :loading="loading"
icon-right="add" @click="submit" color="white" />
Expand Down
4 changes: 2 additions & 2 deletions src/core/components/table/AttendanceTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
:trainees="traineesWithAttendance" @submit="addTrainee" />

<attendance-sheet-addition-modal v-model="attendanceSheetAdditionModal" @hide="resetAttendanceSheetAdditionModal"
@submit="addAttendanceSheet" v-model:new-attendance-sheet="newAttendanceSheet" :loading="modalLoading"
:validations="attendanceSheetValidations.newAttendanceSheet" :course="course" :slots="notLinkedSlotOptions" />
@submit="addAttendanceSheet" v-model:new-attendance-sheet="newAttendanceSheet" :loading="modalLoading"
:validations="attendanceSheetValidations.newAttendanceSheet" :course="course" :slots="notLinkedSlotOptions" />
<attendance-sheet-edition-modal v-model="attendanceSheetEditionModal" @hide="resetAttendanceSheetEditionModal"
@submit="updateAttendanceSheet" v-model:edited-attendance-sheet="editedAttendanceSheet" :loading="modalLoading"
:validations="attendanceSheetValidations.editedAttendanceSheet" :edition-slot-options="editionSlotOptions" />
Expand Down

0 comments on commit 8423e0c

Please sign in to comment.