diff --git a/client/components/App.vue b/client/components/App.vue index 834598b2..74e27533 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -1,60 +1,72 @@ diff --git a/client/components/Channel.vue b/client/components/Channel.vue index b861c646..fb1a3cf5 100644 --- a/client/components/Channel.vue +++ b/client/components/Channel.vue @@ -2,28 +2,34 @@ + :active-channel="activeChannel" + > {{ channel.name }} {{ channel.unread | roundBadgeNumber }} + class="badge" + >{{ channel.unread | roundBadgeNumber }} diff --git a/client/components/ChannelWrapper.vue b/client/components/ChannelWrapper.vue index cd5ed80a..388446ce 100644 --- a/client/components/ChannelWrapper.vue +++ b/client/components/ChannelWrapper.vue @@ -14,11 +14,13 @@ :aria-controls="'#chan-' + channel.id" :aria-selected="activeChannel && channel === activeChannel.channel" class="chan" - role="tab"> + role="tab" + > + :activeChannel="activeChannel" + /> diff --git a/client/components/Chat.vue b/client/components/Chat.vue index 07d9915a..2fe4b856 100644 --- a/client/components/Chat.vue +++ b/client/components/Chat.vue @@ -1,7 +1,8 @@ diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index c3695162..a7cf8e6c 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -3,7 +3,8 @@ id="form" method="post" action="" - @submit.prevent="onSubmit"> + @submit.prevent="onSubmit" + > {{ network.nick }}