mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-29 00:10:52 +00:00
Fix a few bugs
This commit is contained in:
parent
d9e8e5d8ed
commit
fc0dede50c
@ -11,7 +11,7 @@
|
||||
|
||||
let prevPage
|
||||
|
||||
$: isFeedPage = $page.path.match(/^\/(notes)?$/) && !$env.FORCE_GROUP
|
||||
$: isFeedPage = $page?.path.match(/^\/(notes)?$/) && !$env.FORCE_GROUP
|
||||
|
||||
$: {
|
||||
if ($modal) {
|
||||
|
@ -84,7 +84,7 @@
|
||||
confirmMessage = null
|
||||
}
|
||||
|
||||
let confirmMessage, ctrl
|
||||
let confirmMessage, ctrl, unsubscribe
|
||||
|
||||
onMount(() => {
|
||||
markChannelRead(channelId)
|
||||
@ -136,7 +136,9 @@
|
||||
{#await decryptContent(message)}
|
||||
<!-- pass -->
|
||||
{:then note}
|
||||
<NoteContent showEntire {note} />
|
||||
{#if note.content}
|
||||
<NoteContent showEntire {note} />
|
||||
{/if}
|
||||
{/await}
|
||||
</div>
|
||||
<small
|
||||
|
@ -264,7 +264,7 @@ export const feedLoader = new FeedLoader<TrustedEvent>({
|
||||
)
|
||||
}
|
||||
},
|
||||
requestDVM: async ({kind, tags, onEvent, ...request}) => {
|
||||
requestDVM: async ({kind, onEvent, tags = [], ...request}) => {
|
||||
let relays
|
||||
if (request.relays?.length > 0) {
|
||||
relays = hints.fromRelays(request.relays).getUrls()
|
||||
|
Loading…
Reference in New Issue
Block a user