mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-13 02:07:33 +01:00
Fix icon reference in AppHeader component and ensure type safety for leading icon
This commit is contained in:
@@ -15,7 +15,7 @@ const navs = [
|
|||||||
es: 'inicio',
|
es: 'inicio',
|
||||||
},
|
},
|
||||||
to: '/',
|
to: '/',
|
||||||
icon: 'house-line-duotone',
|
icon: 'house-duotone',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: {
|
label: {
|
||||||
@@ -199,7 +199,7 @@ const socialsList = [
|
|||||||
v-model:open="openSelectMenu"
|
v-model:open="openSelectMenu"
|
||||||
:items="locales"
|
:items="locales"
|
||||||
size="sm"
|
size="sm"
|
||||||
:leading-icon="currentLocale.icon"
|
:leading-icon="currentLocale!.icon as string"
|
||||||
label-key="label"
|
label-key="label"
|
||||||
value-key="code"
|
value-key="code"
|
||||||
variant="soft"
|
variant="soft"
|
||||||
|
|||||||
Reference in New Issue
Block a user