Hide collapse button if there are no channels
This commit is contained in:
parent
d4a23ffc98
commit
631fd6138c
@ -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 New Issue
Block a user