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 11 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" :href="item.link"
:target="item.target" :target="item.target"
:rel="item.rel" :rel="item.rel"
> :no-icon="item.noIcon"
{{ item.text }} v-html="item.text"
</VPLink> />
</div> </div>
</template> </template>

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

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

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

Loading…
Cancel
Save