Skip to content

Commit

Permalink
Fix station without name text
Browse files Browse the repository at this point in the history
  • Loading branch information
Marioneq4958 committed Jul 17, 2024
1 parent de906d2 commit 875b227
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/station-card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const logoError = ref(false);
radio
</div>
<div class="card__name">
{{ data.name.trim() ? data.name.trim() : $t('withoutName') }}
{{ data.name.trim() ? data.name.trim() : $t('station.withoutName') }}
<span class="material-symbols-rounded" v-if="data.hasExtendedInfo"
>verified</span
>
Expand Down
2 changes: 1 addition & 1 deletion src/layout/player-bar-fullscreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ watch(station, () => {
<div class="material-symbols-rounded fullscreen__image" v-else>radio</div>
<div class="player-bar-fullscreen__text">
<div class="player-bar-fullscreen__title">
{{ playerStore.station!.name.trim() ?? $t('withoutName') }}
{{ playerStore.station!.name.trim() ?? $t('station.withoutName') }}
</div>
<div
class="player-bar-fullscreen__description"
Expand Down
2 changes: 1 addition & 1 deletion src/layout/player-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ watch(station, () => {
/>
<div class="material-symbols-rounded player-bar__image" v-else>radio</div>
<div class="player-bar__title">
{{ playerStore.station.name.trim() ?? $t('withoutName') }}
{{ playerStore.station.name.trim() ?? $t('station.withoutName') }}
</div>
<div
class="player-bar__description"
Expand Down

0 comments on commit 875b227

Please sign in to comment.