Skip to content

Commit

Permalink
fix: catalog will not show when there is no header
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed Jan 5, 2021
1 parent 82e98a4 commit fe9b39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme-gungnir/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<v-icon name="fa-chevron-up" />
</div>
<div
v-if="$page.frontmatter.catalog"
v-if="$page.frontmatter.catalog && $page.headers"
class="menu-btn-child menu-toc-btn"
@click="$emit('toggle-catalog')"
>
Expand Down

1 comment on commit fe9b39a

@vercel
Copy link

@vercel vercel bot commented on fe9b39a Jan 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.