fix(theme): bind missing no icon prop in the menu link component (#4260)

Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
pull/4278/head
Dusan Vuckovic 3 months ago committed by GitHub
parent 39236c5899
commit d4712c17c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -18,9 +18,9 @@ const { page } = useData()
:href="item.link"
:target="item.target"
:rel="item.rel"
>
{{ item.text }}
</VPLink>
:no-icon="item.noIcon"
v-html="item.text"
/>
</div>
</template>

@ -22,13 +22,12 @@ const { page } = useData()
)
}"
:href="item.link"
:noIcon="item.noIcon"
:target="item.target"
:rel="item.rel"
:no-icon="item.noIcon"
tabindex="0"
>
<span v-html="item.text"></span>
</VPLink>
v-html="item.text"
/>
</template>
<style scoped>

@ -16,10 +16,10 @@ const closeScreen = inject('close-screen') as () => void
:href="item.link"
:target="item.target"
:rel="item.rel"
:no-icon="item.noIcon"
@click="closeScreen"
>
{{ item.text }}
</VPLink>
v-html="item.text"
/>
</template>
<style scoped>

@ -16,6 +16,7 @@ const closeScreen = inject('close-screen') as () => void
:href="item.link"
:target="item.target"
:rel="item.rel"
:no-icon="item.noIcon"
@click="closeScreen"
v-html="item.text"
/>

Loading…
Cancel
Save