noogle, fixes image/picture

This commit is contained in:
Believethehype
2024-12-05 11:53:09 +01:00
parent ee25e33b38
commit b742e7b0ff
3 changed files with 5 additions and 5 deletions

View File

@@ -738,7 +738,7 @@ export default {
let nip88 = {
title: "",
image: "",
picture: "",
amounts: [],
zaps: [],
perks: [],
@@ -754,8 +754,8 @@ export default {
}
if (jsonentry.picture) {
jsonentry.image = jsonentry.picture
if (jsonentry.image) {
jsonentry.picture = jsonentry.image
}
if (!jsonentry.amount) {

View File

@@ -92,7 +92,7 @@
<figure style="max-width: 20%; flex: fit-content; background-size: cover;">
<img v-if="dvm.image" :alt="dvm.name" :src="dvm.image" onerror="this.src='https://noogle.lol/favicon.ico'"
<img v-if="dvm.picture" :alt="dvm.name" :src="dvm.picture" onerror="this.src='https://noogle.lol/favicon.ico'"
style=" width: 90%; object-fit: cover;"/>
</figure>
<div class="card-body">

View File

@@ -302,7 +302,7 @@ async function listen() {
result: "",
name: event.author.toBech32(),
about: "",
image: "",
picture: "",
amount: 0,
bolt11: ""
}