mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-05 00:32:03 +00:00
authorized check on details page
This commit is contained in:
parent
11367560c0
commit
7f0e480788
@ -220,6 +220,7 @@ const Details = () => {
|
||||
user={nsec || npub || null}
|
||||
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.primal.net/, wss://nostrue.com/, wss://purplerelay.com/, wss://relay.devs.tools/"
|
||||
disable="zaps"
|
||||
isAuthorized={!event.price || decryptedContent || session?.user?.role?.subscribed || authorView}
|
||||
/>
|
||||
</div>
|
||||
) : nAddress !== null ? (
|
||||
@ -229,6 +230,7 @@ const Details = () => {
|
||||
user={npub}
|
||||
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.primal.net/, wss://nostrue.com/, wss://purplerelay.com/, wss://relay.devs.tools/"
|
||||
disable="zaps"
|
||||
isAuthorized={!event.price || decryptedContent || session?.user?.role?.subscribed || authorView}
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
|
Loading…
x
Reference in New Issue
Block a user