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'">
|
<template v-if="channel.type === 'lobby'">
|
||||||
<button
|
<button
|
||||||
|
v-if="network.channels.length > 1"
|
||||||
:aria-controls="'network-' + network.uuid"
|
:aria-controls="'network-' + network.uuid"
|
||||||
class="collapse-network"
|
class="collapse-network"
|
||||||
aria-label="Collapse"
|
aria-label="Collapse"
|
||||||
aria-expanded="true">
|
aria-expanded="true"
|
||||||
|
>
|
||||||
<span class="collapse-network-icon"/>
|
<span class="collapse-network-icon"/>
|
||||||
</button>
|
</button>
|
||||||
|
<span
|
||||||
|
v-else
|
||||||
|
class="collapse-network"/>
|
||||||
<div class="lobby-wrap">
|
<div class="lobby-wrap">
|
||||||
<span
|
<span
|
||||||
:title="channel.name"
|
:title="channel.name"
|
||||||
|
Loading…
Reference in New Issue
Block a user