Small bugs/copy changes
This commit is contained in:
@@ -37,8 +37,6 @@
|
|||||||
|
|
||||||
const assertEvent = (e: any) => e as TrustedEvent
|
const assertEvent = (e: any) => e as TrustedEvent
|
||||||
|
|
||||||
const assertNotNil = <T,>(x: T | undefined) => x!
|
|
||||||
|
|
||||||
const showMembers = () =>
|
const showMembers = () =>
|
||||||
pushModal(ProfileList, {pubkeys: others, title: `People in this conversation`})
|
pushModal(ProfileList, {pubkeys: others, title: `People in this conversation`})
|
||||||
|
|
||||||
@@ -158,7 +156,7 @@
|
|||||||
</PageBar>
|
</PageBar>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="-mt-2 flex flex-grow flex-col-reverse overflow-auto py-2">
|
<div class="-mt-2 flex flex-grow flex-col-reverse overflow-auto py-2">
|
||||||
{#if missingInboxes.includes(assertNotNil($pubkey))}
|
{#if missingInboxes.includes($pubkey!)}
|
||||||
<div class="py-12">
|
<div class="py-12">
|
||||||
<div class="card2 col-2 m-auto max-w-md items-center text-center">
|
<div class="card2 col-2 m-auto max-w-md items-center text-center">
|
||||||
<p class="row-2 text-lg text-error">
|
<p class="row-2 text-lg text-error">
|
||||||
@@ -172,6 +170,19 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{:else if missingInboxes.length > 0}
|
||||||
|
<div class="py-12">
|
||||||
|
<div class="card2 col-2 m-auto max-w-md items-center text-center">
|
||||||
|
<p class="row-2 text-lg text-error">
|
||||||
|
<Icon icon="danger" />
|
||||||
|
{missingInboxes.length} {missingInboxes.length > 1 ? 'inboxes are' : 'inbox is'} not configured.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
In order to deliver messages, {PLATFORM_NAME} needs to know where to send them. Please make
|
||||||
|
sure everyone in this conversation has set up their inbox relays.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#each elements as { type, id, value, showPubkey } (id)}
|
{#each elements as { type, id, value, showPubkey } (id)}
|
||||||
{#if type === "date"}
|
{#if type === "date"}
|
||||||
|
|||||||
@@ -16,9 +16,11 @@
|
|||||||
|
|
||||||
const {url} = $props()
|
const {url} = $props()
|
||||||
|
|
||||||
|
const path = makeSpacePath(url)
|
||||||
|
|
||||||
const back = () => history.back()
|
const back = () => history.back()
|
||||||
|
|
||||||
const confirm = () => goto(makeSpacePath(url), {replaceState: true})
|
const confirm = () => goto(path, {replaceState: true})
|
||||||
|
|
||||||
const next = () => {
|
const next = () => {
|
||||||
if (!error && ctx.net.pool.get(url).stats.lastAuth === 0) {
|
if (!error && ctx.net.pool.get(url).stats.lastAuth === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user