From dd5e564e54b75185569393a37579292665bdad92 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:40:07 +0100 Subject: [PATCH] fix visual bug in noogle --- nostr_dvm/utils/outbox_utils.py | 2 +- ui/noogle/src/components/ImageGeneration.vue | 2 +- ui/noogle/src/components/Login.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nostr_dvm/utils/outbox_utils.py b/nostr_dvm/utils/outbox_utils.py index bad3d39..c18656f 100644 --- a/nostr_dvm/utils/outbox_utils.py +++ b/nostr_dvm/utils/outbox_utils.py @@ -84,7 +84,7 @@ AVOID_OUTBOX_RELAY_LIST = ["wss://nos.lol", "wss://nostr.fmt.wiz.biz", "wss://no "ws://localhost:7777", "wss://nostr.fmt.wiz.biz", "wss://nostrich.friendship.tw", "wss://public.relaying.io", "wss://relay.me3d.app", "wss://dreamofthe90s.nostr1.com", "wss://lnbits.eldamar.icu/nostrrelay/relay", "wss://nostr.olwe.link", - "wss://nostr.cheeserobot.org", "wss://nostr-relay.nokotaro.com" + "wss://nostr.cheeserobot.org", "wss://nostr-relay.nokotaro.com", "wss://premium.primal.net" diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue index 9340b2d..0cba9b3 100644 --- a/ui/noogle/src/components/ImageGeneration.vue +++ b/ui/noogle/src/components/ImageGeneration.vue @@ -191,7 +191,7 @@ async function listen() { if (JSON.parse(el.event).pubkey === event.author.toHex().toString() && el.kind === "5100") { jsonentry.name = el.name jsonentry.about = el.about - jsonentry.picture = el.picture + jsonentry.image = el.image jsonentry.nip90Params = el.nip90Params jsonentry.reactions = await dvmreactions(PublicKey.parse(el.id), store.state.followings) jsonentry.reactions.negativeUser = false diff --git a/ui/noogle/src/components/Login.vue b/ui/noogle/src/components/Login.vue index 14dd5dd..f16bbcf 100644 --- a/ui/noogle/src/components/Login.vue +++ b/ui/noogle/src/components/Login.vue @@ -754,8 +754,8 @@ export default { } - if (jsonentry.image) { - jsonentry.picture = jsonentry.image + if (jsonentry.picture) { + jsonentry.image = jsonentry.picture } if (!jsonentry.amount) {