Skip to content

Commit

Permalink
Revert "fix(theme): bind missing no icon prop in the menu link compon…
Browse files Browse the repository at this point in the history
…ent (#4260)"

This reverts commit d4712c1.
  • Loading branch information
brc-dd committed Oct 13, 2024
1 parent d4712c1 commit ef703cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/client/theme-default/components/VPMenuLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
7 changes: 4 additions & 3 deletions src/client/theme-default/components/VPNavBarMenuLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
Expand Down

0 comments on commit ef703cf

Please sign in to comment.