Skip to content

Commit ef703cf

Browse files
committed
Revert "fix(theme): bind missing no icon prop in the menu link component (#4260)"
This reverts commit d4712c1.
1 parent d4712c1 commit ef703cf

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/client/theme-default/components/VPMenuLink.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ const { page } = useData()
1818
:href="item.link"
1919
:target="item.target"
2020
:rel="item.rel"
21-
:no-icon="item.noIcon"
22-
v-html="item.text"
23-
/>
21+
>
22+
{{ item.text }}
23+
</VPLink>
2424
</div>
2525
</template>
2626

src/client/theme-default/components/VPNavBarMenuLink.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ const { page } = useData()
2222
)
2323
}"
2424
:href="item.link"
25+
:noIcon="item.noIcon"
2526
:target="item.target"
2627
:rel="item.rel"
27-
:no-icon="item.noIcon"
2828
tabindex="0"
29-
v-html="item.text"
30-
/>
29+
>
30+
<span v-html="item.text"></span>
31+
</VPLink>
3132
</template>
3233

3334
<style scoped>

src/client/theme-default/components/VPNavScreenMenuGroupLink.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ const closeScreen = inject('close-screen') as () => void
1616
:href="item.link"
1717
:target="item.target"
1818
:rel="item.rel"
19-
:no-icon="item.noIcon"
2019
@click="closeScreen"
21-
v-html="item.text"
22-
/>
20+
>
21+
{{ item.text }}
22+
</VPLink>
2323
</template>
2424

2525
<style scoped>

src/client/theme-default/components/VPNavScreenMenuLink.vue

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const closeScreen = inject('close-screen') as () => void
1616
:href="item.link"
1717
:target="item.target"
1818
:rel="item.rel"
19-
:no-icon="item.noIcon"
2019
@click="closeScreen"
2120
v-html="item.text"
2221
/>

0 commit comments

Comments
 (0)