From bcfb3c29d1a07ad730183f28ea41646dbc326552 Mon Sep 17 00:00:00 2001 From: Believethehype <1097224+believethehype@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:20:31 +0100 Subject: [PATCH] fix images on noogle --- ui/noogle/src/components/FilterGeneration.vue | 4 ++-- ui/noogle/src/components/ImageGeneration.vue | 4 ++-- ui/noogle/src/components/RecommendationGeneration.vue | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/noogle/src/components/FilterGeneration.vue b/ui/noogle/src/components/FilterGeneration.vue index d51bf3e..264a567 100644 --- a/ui/noogle/src/components/FilterGeneration.vue +++ b/ui/noogle/src/components/FilterGeneration.vue @@ -500,7 +500,7 @@ async function addAllContentDVMs() { result: [], name: el.name, about: el.about, - image: el.image, + image: el.picture, amount: el.amount, supportsEncryption: el.supportsEncryption, acceptsNutZaps: el.acceptsNutZaps, @@ -581,7 +581,7 @@ async function addDVM(event) { if (JSON.parse(el.event).pubkey === event.author.toHex()) { jsonentry.name = el.name jsonentry.about = el.about - jsonentry.image = el.image + jsonentry.image = el.picture jsonentry.lud16 = el.lud16 jsonentry.supportsEncryption = el.supportsEncryption jsonentry.acceptsNutZaps = el.acceptsNutZaps diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue index 0182856..00d1ac1 100644 --- a/ui/noogle/src/components/ImageGeneration.vue +++ b/ui/noogle/src/components/ImageGeneration.vue @@ -164,7 +164,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.image = el.image + jsonentry.image = el.picture jsonentry.nip90Params = el.nip90Params jsonentry.reactions = await dvmreactions(PublicKey.parse(el.id), store.state.followings) jsonentry.reactions.negativeUser = false @@ -220,7 +220,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.image = el.image + jsonentry.image = el.picture jsonentry.nip90Params = el.nip90Params jsonentry.reactions = await dvmreactions(PublicKey.parse(el.id), store.state.followings) jsonentry.event = Event.fromJson(el.event) diff --git a/ui/noogle/src/components/RecommendationGeneration.vue b/ui/noogle/src/components/RecommendationGeneration.vue index 8315e0b..615e190 100644 --- a/ui/noogle/src/components/RecommendationGeneration.vue +++ b/ui/noogle/src/components/RecommendationGeneration.vue @@ -520,7 +520,7 @@ async function addAllContentDVMs() { result: [], name: el.name, about: el.about, - image: el.image, + image: el.picture, amount: el.amount, encryptionSupported: el.encryptionSupported, cashuAccepted: el.cashuAccepted, @@ -601,7 +601,7 @@ async function addDVM(event) { if (JSON.parse(el.event).pubkey === event.author.toHex()) { jsonentry.name = el.name jsonentry.about = el.about - jsonentry.image = el.image + jsonentry.image = el.picture jsonentry.lud16 = el.lud16 jsonentry.encryptionSupported = el.encryptionSupported jsonentry.cashuAccepted = el.cashuAccepted