Commit 9853006
committed
fix: show share button on all content pages instead of only TOC-matched pages
The v-if condition used shell.currentPage.length > 0, which requires the
current URL to match a TOC entry. With placeholder content, this array is
often empty even on valid content pages. Changed to use shell.isContentPage
which correctly identifies content pages regardless of TOC matching.1 parent c56cf34 commit 9853006
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- EssentialCSharp.Web/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments