From 27f35a7dd87baee5d6c87c99188049a4e931c9eb Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 19 May 2025 16:11:47 +0530 Subject: [PATCH] style: if block --- app/javascript/ui/LiteReplyBox.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/ui/LiteReplyBox.vue b/app/javascript/ui/LiteReplyBox.vue index 0699cea6d..2b743e443 100644 --- a/app/javascript/ui/LiteReplyBox.vue +++ b/app/javascript/ui/LiteReplyBox.vue @@ -57,8 +57,9 @@ export default { // if the current chat is not loaded, assume we can reply // this avoids rendering the editor with is-private yellow bg // optimisitaclly defaulting to reply editor - if (!this.currentChat || !Object.keys(this.currentChat).length) + if (!this.currentChat || !Object.keys(this.currentChat).length) { return false; + } if (this.currentChat.can_reply) { return this.isOnPrivateNote;