@fy-/fws-vue 2.1.22 → 2.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import type { RouteLocationRaw } from 'vue-router'
6
6
  import type { APIPaging } from '../../composables/rest'
7
7
  import { getURL, hasFW } from '@fy-/fws-js'
8
8
  import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/vue/24/solid'
9
- import { useHead } from '@unhead/vue'
9
+ import { useServerHead } from '@unhead/vue'
10
10
  import {
11
11
  computed,
12
12
  onMounted,
@@ -110,7 +110,7 @@ onUnmounted(() => {
110
110
  })
111
111
 
112
112
  checkPageNumber(props.items.page_no)
113
- useHead({
113
+ useServerHead({
114
114
  link: computed(() => {
115
115
  const result: any = []
116
116
  if (prevNextSeo.value.next) {
@@ -118,6 +118,7 @@ useHead({
118
118
  href: prevNextSeo.value.next,
119
119
  rel: 'next',
120
120
  key: 'next',
121
+ hid: 'paging-next',
121
122
  })
122
123
  }
123
124
  if (prevNextSeo.value.prev) {
@@ -125,6 +126,7 @@ useHead({
125
126
  href: prevNextSeo.value.prev,
126
127
  rel: 'prev',
127
128
  key: 'prev',
129
+ hid: 'paging-prev',
128
130
  })
129
131
  }
130
132
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.1.22",
3
+ "version": "2.1.24",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",