mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Hide collapse button if there are no channels
This commit is contained in:
parent
d4a23ffc98
commit
631fd6138c
1 changed files with 6 additions and 1 deletions
|
@ -13,12 +13,17 @@
|
|||
>
|
||||
<template v-if="channel.type === 'lobby'">
|
||||
<button
|
||||
v-if="network.channels.length > 1"
|
||||
:aria-controls="'network-' + network.uuid"
|
||||
class="collapse-network"
|
||||
aria-label="Collapse"
|
||||
aria-expanded="true">
|
||||
aria-expanded="true"
|
||||
>
|
||||
<span class="collapse-network-icon"/>
|
||||
</button>
|
||||
<span
|
||||
v-else
|
||||
class="collapse-network"/>
|
||||
<div class="lobby-wrap">
|
||||
<span
|
||||
:title="channel.name"
|
||||
|
|
Loading…
Reference in a new issue