mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-09-27 06:16:16 +02:00
noogle, fixes image/picture
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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">
|
||||
|
@@ -302,7 +302,7 @@ async function listen() {
|
||||
result: "",
|
||||
name: event.author.toBech32(),
|
||||
about: "",
|
||||
image: "",
|
||||
picture: "",
|
||||
amount: 0,
|
||||
bolt11: ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user