Fix person relays and toast

This commit is contained in:
Jonathan Staab 2023-02-18 14:50:02 -06:00
parent 3ea222b120
commit d62c7adc90
3 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,10 @@
# Snacks
- [ ] Following indicator on person info
- [ ] Change feed tabs to follows/network
- [ ] Don't lose feeds when navigating, persist modals
- [ ] Share button for notes, shows qr code and nevent
- [ ] If a user has no write relays (or is not logged in), open a modal
- [ ] open web+nostr links like snort
- [ ] DM/chat read status in encrypted note

View File

@ -261,7 +261,7 @@
{#if $toast}
<div
class="fixed top-0 left-0 right-0 z-10 pointer-events-none"
class="fixed top-0 left-0 right-0 z-20 pointer-events-none"
transition:fly={{y: -50, duration: 300}}>
<div
class="rounded bg-accent shadow-xl mx-24 sm:mx-32 mt-2 p-3 text-white text-center

View File

@ -179,7 +179,7 @@
{:else if activeTab === 'likes'}
<Likes {pubkey} />
{:else if activeTab === 'relays'}
{#if person?.petnames}
{#if person?.relays}
<Relays person={person} />
{:else if loading}
<Spinner />