Skip to content

Commit

Permalink
fixes post-review
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 23, 2024
1 parent c367a39 commit 3969dbf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/components/ResourceActionDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<div class="mt-n6 mx-n6 mb-4 pa-4 d-flex" style="background-color: #F5F5F5">
<v-spacer></v-spacer>
<v-btn outlined color="primary" @click="$emit('close')">
Fermer
Annuler
</v-btn>
</div>

<h2 id="modal-title" class="mb-3" tabindex="-1">Mis en place ?</h2>
<h2 class="mb-3">Mis en place ?</h2>

<v-form ref="form" @submit.prevent>
<DsfrAutocomplete
Expand All @@ -18,7 +18,7 @@
multiple
hide-details
id="select-canteen"
placeholder="Toutes mes cantines"
placeholder="Choissisez les établissements"
class="mt-1"
no-data-text="Pas de résultats"
item-text="name"
Expand Down Expand Up @@ -54,7 +54,7 @@ export default {
actionCanteensDone: {
type: Array,
required: true,
example: [{ id: 1, name: "Cantine 1" }],
// example: [{ id: 1, name: "Cantine 1" }],
},
},
data() {
Expand All @@ -79,11 +79,11 @@ export default {
},
},
methods: {
createOrUpdateResourceAction(canteenId, is_done = true) {
createOrUpdateResourceAction(canteenId, isDone) {
return this.$store
.dispatch("createOrUpdateResourceAction", {
resourceId: this.resourceId,
payload: { canteenId, is_done },
payload: { canteenId, isDone },
})
.catch((e) => this.$store.dispatch("notifyServerError", e))
},
Expand Down

0 comments on commit 3969dbf

Please sign in to comment.