show following status in recommendation feed

This commit is contained in:
Believethehype
2024-04-30 14:07:12 +02:00
parent c237724d15
commit 10a78e8440
2 changed files with 51 additions and 14 deletions

View File

@@ -23,6 +23,7 @@
<img class="avatar" v-else src="@/assets/nostr-purple.svg" />
<a class="purple" :href="authorurl" target="_blank">{{ author }}</a>
<a className="white" style="background: #1f2937; font-size: xx-small" v-if="store.state.followings.find(x => x == authorid) !== undefined">Following</a>
<div class="time">
{{indicator.time.split("T")[1].split("Z")[0].trim()}}
{{indicator.time.split("T")[0].split("-")[2].trim()}}.{{indicator.time.split("T")[0].split("-")[1].trim()}}.{{indicator.time.split("T")[0].split("-")[0].trim().slice(2)}}
@@ -196,6 +197,9 @@ async function react(eventid, authorid, evt){
}
}
async function reply (eventid, authorid, message){
console.log(eventid)