Skip to content

Commit

Permalink
fix: properly hide list overview button
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 24, 2024
1 parent 4bedcec commit 9490e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/internals/SlidesOverview.vue
Expand Up @@ -163,7 +163,7 @@ watchEffect(() => {
</div>
</div>
</Transition>
<div class="fixed top-4 right-4 text-gray-400 flex items-center gap-4">
<div v-if="value" class="fixed top-4 right-4 text-gray-400 flex items-center gap-4">
<RouterLink
v-if="__DEV__"
to="/overview"
Expand All @@ -172,7 +172,7 @@ watchEffect(() => {
>
List overview
</RouterLink>
<IconButton v-if="value" title="Close" class="text-2xl" @click="close">
<IconButton title="Close" class="text-2xl" @click="close">
<carbon:close />
</IconButton>
</div>
Expand Down

0 comments on commit 9490e24

Please sign in to comment.