Skip to content

Commit

Permalink
rollback to vue 3.4.15 and little tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiducho committed Feb 28, 2024
1 parent 161b349 commit 9156b38
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"mitt": "3.0.1",
"pinia": "2.1.7",
"tailwindcss": "3.4.1",
"vue": "3.4.18",
"vue": "3.4.15",
"vue-advanced-cropper": "2.8.8",
"vue-router": "4.2.5",
"vue-sonner": "1.0.2",
Expand Down
152 changes: 76 additions & 76 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/components/admin/gps/DriversInGrandPrix.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>
<template #item="{ element, index }">
<div class="p-1 cursor-move rounded-lg flex items-center justify-center bg-cyan-400 hover:bg-cyan-600 shadow-lg">
{{ element.firstname }} {{ element.lastname }}
{{ element.firstname }} {{ element.lastname }} #{{ element.number }}
</div>
</template>
</draggable>
Expand Down Expand Up @@ -49,7 +49,7 @@
>
<template #item="{ element, index }">
<div class="cursor-move flex items-center justify-center">
{{ element.firstname }} {{ element.lastname }}
{{ element.firstname }} {{ element.lastname }} #{{ element.number }}
</div>
</template>
</draggable>
Expand Down
2 changes: 1 addition & 1 deletion src/components/admin/gps/SessionsInGrandPrix.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default defineComponent({
methods: {
addSessionToGP() {
if (Object.keys(this.newSession.session).length != 0) {
const data = { session: this.newSession.session.name, date: this.newSession.date };
const data = { session: this.newSession.session.id, date: this.newSession.date };
sessionService.addSessionInGrandPrix(this.grandPrix, data).then((session) => {
this.isCreatingSession = false;
this.sessions.push(session);
Expand Down
Loading

0 comments on commit 9156b38

Please sign in to comment.