From ada9ff3b71928ce480563e61587180fd5f58c000 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 3 Dec 2021 19:09:52 +0100 Subject: [PATCH] components/buffer-header: fix missing "join" button for parted channel --- components/buffer-header.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/buffer-header.js b/components/buffer-header.js index 62b5b01..d75cb45 100644 --- a/components/buffer-header.js +++ b/components/buffer-header.js @@ -134,13 +134,13 @@ export default function BufferHeader(props) { description = linkify(stripANSI(props.buffer.topic), props.onChannelClick); } if (props.buffer.joined) { - actions = html` + actions.push(html` - `; + `); } else { if (fullyConnected) { actions.push(html` @@ -150,13 +150,13 @@ export default function BufferHeader(props) { >Join `); } - actions = html` + actions.push(html` - `; + `); } break; case BufferType.NICK: