From 6a3158f8d2b091a9cd4039c9767b43d5f7057e04 Mon Sep 17 00:00:00 2001 From: hackish Date: Wed, 6 Dec 2023 11:09:47 -0800 Subject: [PATCH] Remove guests from wishlist view --- src/views/wishlists.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wishlists.pug b/src/views/wishlists.pug index 9eca186..65358d5 100644 --- a/src/views/wishlists.pug +++ b/src/views/wishlists.pug @@ -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 + if req.user._id !== user.id && !user.id.endsWith('_') li .box a(href=`${_CC.config.base}wishlist/${user.id}`, style='color: #4a4a4a;')