aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-06-02 17:45:34 -0500
committerJP Dillingham <jp@dillingham.me>2024-06-02 17:45:34 -0500
commit8bc844df40f80d2c20df6f6033eed87f5a48672d (patch)
treedd7cc22f2c763189272ac87086c04157aa72d6ad /src
parent1eea36c36b6c6c0f6c93a449d4a01168dbee9684 (diff)
downloadslskd-8bc844df40f80d2c20df6f6033eed87f5a48672d.tar.gz
fix active check
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/Rooms/Rooms.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/Rooms/Rooms.jsx b/src/web/src/components/Rooms/Rooms.jsx
index 002ecde3..54e67d3c 100644
--- a/src/web/src/components/Rooms/Rooms.jsx
+++ b/src/web/src/components/Rooms/Rooms.jsx
@@ -195,7 +195,7 @@ class Rooms extends Component {
onRoomChange={(name) => this.selectRoom(name)}
/>
</Segment>
- {active == null ? (
+ {active?.length === 0 ? (
<PlaceholderSegment
caption="No rooms to display"
icon="comments"