Better id check for Nigel and Dey

This commit is contained in:
hackish 2023-12-06 11:22:12 -08:00
parent 6a3158f8d2
commit 941ba730c9

View file

@ -62,7 +62,7 @@ block content
span!=lang('WISHLISTS_COUNTS_SELF', req.user._id)
+wishlistDetails(req.user.wishlist, req.user._id)
each user in users
if req.user._id !== user.id && !user.id.endsWith('_')
if req.user._id !== user.id && !user.id.endsWith('_') && (req.user._id !== 'NigelDey_' || ['Darryl', 'Roselynn', 'Violet'].includes(user.id))
li
.box
a(href=`${_CC.config.base}wishlist/${user.id}`, style='color: #4a4a4a;')