tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
don't show edit link if no leaflet
awarm.space
4 months ago
8c01afea
5b221f31
+2
-1
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
LinearDocumentPage.tsx
+2
-1
app/lish/[did]/[publication]/[rkey]/LinearDocumentPage.tsx
···
105
105
{identity &&
106
106
identity.atp_did ===
107
107
document.documents_in_publications[0]?.publications
108
108
-
?.identity_did ? (
108
108
+
?.identity_did &&
109
109
+
document.leaflets_in_publications[0] ? (
109
110
<a
110
111
href={`https://leaflet.pub/${document.leaflets_in_publications[0]?.leaflet}`}
111
112
className="flex gap-2 items-center hover:!no-underline selected-outline px-2 py-0.5 bg-accent-1 text-accent-2 font-bold w-fit rounded-lg !border-accent-1 !outline-accent-1 mx-auto"