Bump paravel, fix a few small bugs

This commit is contained in:
Jon Staab 2024-02-12 10:21:33 -08:00
parent 10f6724860
commit 79a7223046
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@
"normalize-url": "^8.0.0", "normalize-url": "^8.0.0",
"nostr-tools": "^2.1.5", "nostr-tools": "^2.1.5",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"paravel": "^0.4.18", "paravel": "^0.4.19",
"qr-scanner": "^1.4.2", "qr-scanner": "^1.4.2",
"qrcode": "^1.5.3", "qrcode": "^1.5.3",
"ramda": "^0.29.1", "ramda": "^0.29.1",

View File

@ -166,7 +166,7 @@
let actions = [] let actions = []
$: disableActions = $: disableActions =
!$canSign || ($muted && !showMuted) || (note.wrap && !deriveIsGroupMember(address).get()) !$canSign || ($muted && !showMuted) || (note.wrap && address && !deriveIsGroupMember(address).get())
$: like = likes.find(e => e.pubkey === $session?.pubkey) $: like = likes.find(e => e.pubkey === $session?.pubkey)
$: $likesCount = likes.length $: $likesCount = likes.length
$: zap = zaps.find(e => e.request.pubkey === $session?.pubkey) $: zap = zaps.find(e => e.request.pubkey === $session?.pubkey)

View File

@ -101,7 +101,7 @@
} }
const domain = last(content.nip05.split("@")) const domain = last(content.nip05.split("@"))
const {pubkey, nip46: relays} = await fetchHandle(`_@${domain}`) const {pubkey, nip46: relays} = await fetchHandle(`_@${domain}`) || {}
if (handlers.some(h => h.domain === domain)) { if (handlers.some(h => h.domain === domain)) {
return return