diff --git a/js/src/forum/addUserInfo.js b/js/src/forum/addUserInfo.js index 69ff1e1..5c17267 100644 --- a/js/src/forum/addUserInfo.js +++ b/js/src/forum/addUserInfo.js @@ -100,6 +100,8 @@ export default function () { const header_node = vnode.children.find(matchClass('PostUser-name')); const amt = Number(setting('rankAmt')) ?? user.ranks().length; + if (!user.ranks()) return; + header_node.children = header_node.children .concat( user