From 82bc6a424e48c49cb77049ead6616bd6932b5c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 20 Aug 2026 16:19:51 -0600 Subject: [PATCH] Hide zap button when inappropriate * Current user has No Nostr pubkey connected * Creator can't accept zaps * Creator is current user (self-zap) --- app/components/photo-gallery.gjs | 23 +++++++++++++++---- tests/helpers/mock-nostr.js | 7 +++++- .../components/photo-gallery-test.gjs | 6 +++-- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/app/components/photo-gallery.gjs b/app/components/photo-gallery.gjs index 9b7748d..1b9d610 100644 --- a/app/components/photo-gallery.gjs +++ b/app/components/photo-gallery.gjs @@ -41,11 +41,13 @@ const GalleryContent =