Skip to content

Commit

Permalink
ApiDoc tab removed from typeless components
Browse files Browse the repository at this point in the history
  • Loading branch information
bahadirsofuoglu committed Mar 8, 2023
1 parent 0754b8e commit e7c786f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/doc/DocComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li :class="{ 'doc-tabmenu-active': tab === 0 }">
<button type="button" @click="tab = 0">COMPONENT</button>
</li>
<li :class="{ 'doc-tabmenu-active': tab === 1 }">
<li v-if="apiDocs && apiDocs.length > 0" :class="{ 'doc-tabmenu-active': tab === 1 }">
<button type="button" @click="tab = 1">API</button>
</li>
</ul>
Expand Down

0 comments on commit e7c786f

Please sign in to comment.