Thread viewer for Bluesky

added reply info to posts on quotes page

+7 -1
+1 -1
src/components/posts/FeedPostParent.svelte
··· 9 9 <p class="back"> 10 10 <i class="fa-solid fa-reply"></i> 11 11 <a href="{linkToPostById(repo, rkey)}"> 12 - {#if repo == accountAPI.user.did} 12 + {#if accountAPI && repo == accountAPI.user.did} 13 13 Reply to you 14 14 {:else} 15 15 {#await api.fetchHandleForDid(repo)}
+6
src/pages/QuotesPage.svelte
··· 1 1 <script> 2 2 import { Post } from '../models/posts.js'; 3 3 import * as paginator from '../utils/paginator.js'; 4 + import FeedPostParent from '../components/posts/FeedPostParent.svelte'; 4 5 import MainLoader from '../components/MainLoader.svelte'; 5 6 import PostWrapper from '../components/posts/PostWrapper.svelte'; 6 7 ··· 58 59 </header> 59 60 60 61 {#each posts as post} 62 + <!-- TODO: #if post.parent --> 63 + {#if post.parentReference} 64 + <FeedPostParent uri={post.parentReference.uri} /> 65 + {/if} 66 + 61 67 <PostWrapper {post} context="quotes" /> 62 68 {/each} 63 69 {:else if !loadingFailed}