Skip to content

Commit f0a459e

Browse files
Mise à jour de la page d'erreur avec des boutons en français
1 parent acad732 commit f0a459e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/error.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ div(class="q-pa-md flex flex-center full-height" style="background-color: #f5f5f
99

1010
q-card-actions(align="around")
1111
q-btn(flat label="Retour à l'accueil" @click="$router.push('/')")
12-
//q-btn(flat label="Contacter le support" @click="contactSupport")
12+
q-btn(flat label="Retour a la page précédente" @click="$router.go(-1)")
1313
q-btn(flat label="Essayer à nouveau" @click="reloadPage")
1414

1515
</template>
1616

1717
<script lang="ts" setup>
1818
import type { NuxtError } from '#app'
1919
import type { PropType } from 'vue'
20-
import { defineProps } from 'vue'
2120
import { useRouter } from 'vue-router'
2221
2322
defineProps({
@@ -29,11 +28,6 @@ defineProps({
2928
3029
const router = useRouter();
3130
32-
function contactSupport() {
33-
// Implement your contact support logic here
34-
// For example, redirect to a contact form or display contact info
35-
}
36-
3731
function reloadPage() {
3832
location.reload();
3933
}

0 commit comments

Comments
 (0)