Skip to content

Commit

Permalink
fix: remove empty directory span in DocsPrevNext (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Feb 20, 2023
1 parent 7af794f commit 95ca11e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/docs/DocsPrevNext.vue
Expand Up @@ -26,7 +26,7 @@ const directory = (link: any) => {
>
<Icon name="heroicons-outline:arrow-sm-left" class="icon" />
<div class="wrapper">
<span class="directory">
<span v-if="directory(prev._path)" class="directory">
{{ directory(prev._path) }}
</span>
<span class="title">{{ prev.title }}</span>
Expand All @@ -41,7 +41,7 @@ const directory = (link: any) => {
class="next"
>
<div class="wrapper">
<span class="directory">
<span v-if="directory(next._path)" class="directory">
{{ directory(next._path) }}
</span>
<span class="title">{{ next.title }}</span>
Expand Down

0 comments on commit 95ca11e

Please sign in to comment.