mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-09 20:33:43 +02:00
noogle, fixes image/picture
This commit is contained in:
@@ -738,7 +738,7 @@ export default {
|
|||||||
|
|
||||||
let nip88 = {
|
let nip88 = {
|
||||||
title: "",
|
title: "",
|
||||||
image: "",
|
picture: "",
|
||||||
amounts: [],
|
amounts: [],
|
||||||
zaps: [],
|
zaps: [],
|
||||||
perks: [],
|
perks: [],
|
||||||
@@ -754,8 +754,8 @@ export default {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (jsonentry.picture) {
|
if (jsonentry.image) {
|
||||||
jsonentry.image = jsonentry.picture
|
jsonentry.picture = jsonentry.image
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!jsonentry.amount) {
|
if (!jsonentry.amount) {
|
||||||
|
@@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<figure style="max-width: 20%; flex: fit-content; background-size: cover;">
|
<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;"/>
|
style=" width: 90%; object-fit: cover;"/>
|
||||||
</figure>
|
</figure>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
@@ -302,7 +302,7 @@ async function listen() {
|
|||||||
result: "",
|
result: "",
|
||||||
name: event.author.toBech32(),
|
name: event.author.toBech32(),
|
||||||
about: "",
|
about: "",
|
||||||
image: "",
|
picture: "",
|
||||||
amount: 0,
|
amount: 0,
|
||||||
bolt11: ""
|
bolt11: ""
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user