Skip to content

Commit

Permalink
fix: visual issue in subscriptions page when subscribed to no channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Jan 24, 2024
1 parent afcb708 commit c203f0e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/SubscriptionsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@
v-text="`${$t('actions.export_to_json')} (${$t('titles.channel_groups')})`"
/>
</div>
<div class="flex self-center gap-1">
<!-- subscriptions count, only shown if there are any -->
<i18n-t v-if="subscriptions.length > 0" keypath="subscriptions.subscribed_channels_count">{{
subscriptions.length
}}</i18n-t>
<!-- subscriptions count, only shown if there are any -->
<div v-if="subscriptions.length > 0" class="flex self-center gap-1">
<i18n-t keypath="subscriptions.subscribed_channels_count">{{ subscriptions.length }}</i18n-t>
</div>
</div>
<br />
Expand Down

0 comments on commit c203f0e

Please sign in to comment.