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
pass untitiled if no draft title for search
awarm.space
5 months ago
cc19837c
1577e627
+3
-2
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
dashboard
DraftList.tsx
+3
-2
app/lish/[did]/[publication]/dashboard/DraftList.tsx
···
46
46
titles={{
47
47
...leaflets_in_publications.reduce(
48
48
(acc, leaflet) => {
49
49
-
if (leaflet.title && leaflet.permission_tokens)
50
50
-
acc[leaflet.permission_tokens.root_entity] = leaflet.title;
49
49
+
if (leaflet.permission_tokens)
50
50
+
acc[leaflet.permission_tokens.root_entity] =
51
51
+
leaflet.title || "Untitled";
51
52
return acc;
52
53
},
53
54
{} as { [l: string]: string },