diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-10-19 11:51:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 11:51:02 +0200 |
commit | a294f7d3a24546fb9d2c40ca3992ecdfc93039d8 (patch) | |
tree | 02a2181783b16029d91049f2bb2715320b0733a5 /components/ModelReportsList.vue | |
parent | 585317bcf53db267366a64b8c896ebc52d527ee7 (diff) |
Add prefetching using `nuxt-link` (#1)
Diffstat (limited to 'components/ModelReportsList.vue')
-rw-r--r-- | components/ModelReportsList.vue | 4 |
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 }} |