summaryrefslogtreecommitdiff
path: root/components/ModelReportsList.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-19 11:51:02 +0200
committerGitHub <noreply@github.com>2022-10-19 11:51:02 +0200
commita294f7d3a24546fb9d2c40ca3992ecdfc93039d8 (patch)
tree02a2181783b16029d91049f2bb2715320b0733a5 /components/ModelReportsList.vue
parent585317bcf53db267366a64b8c896ebc52d527ee7 (diff)
Add prefetching using `nuxt-link` (#1)
Diffstat (limited to 'components/ModelReportsList.vue')
-rw-r--r--components/ModelReportsList.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/ModelReportsList.vue b/components/ModelReportsList.vue
index 7da07b1..f26845b 100644
--- a/components/ModelReportsList.vue
+++ b/components/ModelReportsList.vue
@@ -62,7 +62,7 @@
.mr-3.float-left(style="flex-shrink: 0;" class="sm:float-none")
user-avatar(:data="warning.user")
p.leading-8.ml-2(class="sm:ml-0")
- a.text-green-800(class="hover:text-green-700 dark:text-green-200 dark:hover:text-green-100" :href="'/user/'+warning.user.id")
+ nuxt-link.text-green-800(class="hover:text-green-700 dark:text-green-200 dark:hover:text-green-100" :to="'/user/'+warning.user.id")
| @
span.underline {{ warning.user.username }}
p.leading-8.ml-0(class="sm:ml-5") {{ warning.note }}
@@ -87,7 +87,7 @@
.mr-3.float-left(style="flex-shrink: 0;" class="sm:float-none")
user-avatar(:data="warning.resolved")
p.leading-8.ml-2(class="sm:ml-0")
- a.text-green-800(class="hover:text-green-700 dark:text-green-200 dark:hover:text-green-100" :href="'/user/'+warning.user.id")
+ nuxt-link.text-green-800(class="hover:text-green-700 dark:text-green-200 dark:hover:text-green-100" :to="'/user/'+warning.user.id")
| @
span.underline {{ warning.resolved.username }}
p.leading-8.ml-0(class="sm:ml-5") {{ warning.admin_note }}