mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
oops [] is truthy
This commit is contained in:
parent
72e885853d
commit
9b90546835
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export default definePlugin({
|
|||
addButton("vc-findreply", message => {
|
||||
if (!message.id) return null;
|
||||
const replies = findReplies(message);
|
||||
if (Vencord.Settings.plugins.FindReply.hideButtonIfNoReply && !replies) return null;
|
||||
if (Vencord.Settings.plugins.FindReply.hideButtonIfNoReply && !replies.length) return null;
|
||||
return {
|
||||
label: "Jump to Reply",
|
||||
icon: FindReplyIcon,
|
||||
|
|
Loading…
Reference in a new issue