Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 16, 2024
1 parent 3f30caf commit 808f474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/channels/ChannelsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="my-auto mr-auto">
<div>
<span v-if="channel.settings.name.length > 0">{{ channel.settings.name }}</span>
<span v-else class="text-gray-500 italic">Unnamed Channel</span>
<span v-else class="text-gray-500 italic">(No Name)</span>
</div>
<div class="text-sm text-gray-500">
<span v-if="channel.role === Protobuf.Channel.Channel_Role.PRIMARY">Primary Channel</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/ChannelMessagesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {
return GlobalState.channelsByIndex[this.channelId];
},
subtitle() {
return this.channel?.settings?.name || 'Unnamed Channel';
return this.channel?.settings?.name || '(No Name)';
},
},
}
Expand Down

0 comments on commit 808f474

Please sign in to comment.