mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +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}
|
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/"
|
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"
|
disable="zaps"
|
||||||
|
isAuthorized={!event.price || decryptedContent || session?.user?.role?.subscribed || authorView}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
) : nAddress !== null ? (
|
) : nAddress !== null ? (
|
||||||
@ -229,6 +230,7 @@ const Details = () => {
|
|||||||
user={npub}
|
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/"
|
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"
|
disable="zaps"
|
||||||
|
isAuthorized={!event.price || decryptedContent || session?.user?.role?.subscribed || authorView}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user