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
27
pulls
pipelines
only add docs you have write access to to homepage
awarm.space
2 years ago
83032048
cc2e7dc2
+1
1 changed file
expand all
collapse all
unified
split
app
[doc_id]
page.tsx
+1
app/[doc_id]/page.tsx
···
50
50
let identity = cookies().get("identity");
51
51
if (
52
52
identity?.value &&
53
53
+
res.data.permission_token_rights.find((f) => f.write) &&
53
54
!res.data.permission_token_on_homepage.find(
54
55
(f) => f.identity === identity.value,
55
56
)