mirror of
https://github.com/aljazceru/hypergolic.git
synced 2026-02-18 11:54:20 +01:00
problem: registered addressess are displayed as pending
This commit is contained in:
@@ -83,15 +83,16 @@ their Merits.
|
||||
Merit purchases must be conducted with a Bitcoin address that is associated with your pubkey,
|
||||
otherwise you will not recieve the Merits upon payment.
|
||||
</div>
|
||||
{#if ($associatedAddresses.size == 0 && !associations) || (associations && $associations.length == 0)}You
|
||||
do not have any registered addresses{:else if associations && $associations && $associations.length > 0}
|
||||
{#if ($associatedAddresses.size == 0 && !associations) || ($associatedAddresses.size == 0 && associations && $associations.length == 0)}
|
||||
You do not have any registered addresses
|
||||
{:else if $associatedAddresses.size == 0 && associations && $associations && $associations.length > 0}
|
||||
<h4 class="text-lg font-bold dark:text-white">Pending Additions</h4>
|
||||
<ul class="m-2 flex flex-col">
|
||||
{#each $associations as event}<li class="list-item list-disc">
|
||||
{event.getMatchingTags('onchain')[0][1]}
|
||||
</li>{/each}
|
||||
</ul>
|
||||
{:else}
|
||||
{:else if $associatedAddresses.size > 0}
|
||||
<h4 class="text-lg font-bold dark:text-white">Your registered addresses</h4>
|
||||
|
||||
<ul class="m-2 flex flex-col">
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
on:click={() => {
|
||||
window.location.href = 'https://github.com/nostrocket/hypergolic/issues';
|
||||
}}
|
||||
class="w-full">Apply Now</Button
|
||||
class="w-full">View Problems</Button
|
||||
>
|
||||
</Card.Footer>
|
||||
</Card.Root>
|
||||
@@ -81,7 +81,12 @@
|
||||
</div>
|
||||
</Card.Content>
|
||||
<Card.Footer>
|
||||
<Button class="w-full">Read More</Button>
|
||||
<Button
|
||||
on:click={() => {
|
||||
goto(`${base}/buymerits`);
|
||||
}}
|
||||
class="w-full">Let's GO!</Button
|
||||
>
|
||||
</Card.Footer>
|
||||
</Card.Root>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user