@fy-/fws-vue 2.3.98 → 2.4.0

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.
@@ -798,7 +798,7 @@ onUnmounted(() => {
798
798
  <div
799
799
  v-if="infoPanel && images[modelValue]"
800
800
  ref="infoPanelRef"
801
- class="w-full px-4 py-3 backdrop-blur-md bg-fv-neutral-900/80 border-t border-fv-neutral-800"
801
+ class="w-full px-4 py-1 md:py-2 backdrop-blur-md bg-fv-neutral-900/80 border-t border-fv-neutral-800"
802
802
  >
803
803
  <slot :value="images[modelValue]" />
804
804
  </div>
@@ -63,8 +63,9 @@ export async function initVueServer(
63
63
  },
64
64
  }
65
65
 
66
- if (url !== serverRouter.route.fullPath) {
67
- result.redirect = serverRouter.route.value.fullPath
66
+ const resolvedRoute = serverRouter.route
67
+ if (resolvedRoute && url !== resolvedRoute.fullPath) {
68
+ result.redirect = resolvedRoute.fullPath
68
69
  result.statusCode = 307
69
70
  callback(result)
70
71
  return result
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.98",
3
+ "version": "2.4.0",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",