mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Change (parted) to a class name
This commit is contained in:
parent
199df6b729
commit
a26fcb45b4
2 changed files with 5 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
|||
:channel="channel"
|
||||
:active-channel="activeChannel">
|
||||
<span class="name">{{ channel.name }}</span>
|
||||
<span v-if="channel.type === 'channel' && channel.state === 0">(parted)</span>
|
||||
<span
|
||||
v-if="channel.unread"
|
||||
:class="{ highlight: channel.highlight }"
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
<template>
|
||||
<div
|
||||
v-if="!network.isCollapsed || channel.highlight || channel.type === 'lobby' || (activeChannel && channel === activeChannel.channel)"
|
||||
:class="[ channel.type, { active: activeChannel && channel === activeChannel.channel } ]"
|
||||
:class="[
|
||||
channel.type,
|
||||
{ active: activeChannel && channel === activeChannel.channel },
|
||||
{ 'channel-is-parted': channel.type === 'channel' && channel.state === 0 }
|
||||
]"
|
||||
:aria-label="getAriaLabel()"
|
||||
:title="getAriaLabel()"
|
||||
:data-id="channel.id"
|
||||
|
|
Loading…
Reference in a new issue