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

This reverts commit d4712c17c5.
pull/4278/head
Divyansh Singh 11 months ago
parent d4712c17c5
commit ef703cf9c7

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

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

@ -16,7 +16,6 @@ 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