Skip to content

Commit 014d0f0

Browse files
authored
Merge pull request #389 from connorabbas/admin-role-dev
Pull master
2 parents 4b1f9b7 + dacbef1 commit 014d0f0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

resources/js/components/NavLogoLink.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<script setup lang="ts">
22
import ApplicationLogo from '@/components/ApplicationLogo.vue'
3+
import { Link as InertiaLink } from '@inertiajs/vue3'
34
</script>
45

56
<template>
67
<Button
78
:href="route('welcome')"
9+
:as="InertiaLink"
810
pt:root:class="flex items-center justify-start gap-4 no-underline p-0"
911
variant="link"
10-
as="InertiaLink"
1112
>
1213
<ApplicationLogo class="block h-8 lg:h-10 w-auto fill-current text-surface-900 dark:text-surface-0" />
1314
<span class="font-bold">Laravel + PrimeVue Starter Kit</span>

resources/js/layouts/UserSettingsLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { computed } from 'vue'
3-
import { usePage } from '@inertiajs/vue3'
3+
import { usePage, Link as InertiaLink } from '@inertiajs/vue3'
44
import PageTitleSection from '@/components/PageTitleSection.vue'
55
66
const page = usePage()
@@ -54,7 +54,7 @@ const sidebarNavItems = computed(() => [
5454
:severity="item.active ? 'secondary' : ''"
5555
:variant="item.active ? 'outlined' : 'text'"
5656
:href="item.route"
57-
as="InertiaLink"
57+
:as="InertiaLink"
5858
>
5959
{{ item.title }}
6060
</Button>

0 commit comments

Comments
 (0)