Skip to content

Commit fae63db

Browse files
fix(errors): change display of API errors
1 parent bc8ab43 commit fae63db

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

components/Errors/Snackers.vue

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<v-col cols="auto">
77
<v-tooltip location="left">
88
<span>
9-
{{ error.code }}<br />
10-
{{ error.route }}<br />
11-
{{ error.description }}
9+
error: {{ error.code }} {{ error.name }}<br />
10+
ressource: {{ error.route }}
1211
<br>
1312
</span>
1413
<template #activator="{ props }">
@@ -19,7 +18,18 @@
1918
</v-tooltip>
2019
</v-col>
2120
<v-col cols="9" class="text-no-wrap overflow-hidden">
22-
{{ error.name }}
21+
<v-tooltip location="top">
22+
<span>
23+
{{ error.description }}
24+
<br>
25+
</span>
26+
<template #activator="{ props }">
27+
<div v-bind="props">
28+
{{ error.description }}
29+
</div>
30+
</template>
31+
</v-tooltip>
32+
2333
</v-col>
2434
<v-spacer />
2535
<v-col cols="auto">

0 commit comments

Comments
 (0)