tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
291
fork
atom
a tool for shared writing and social publishing
291
fork
atom
overview
issues
28
pulls
pipelines
don't filter out archived undefined posts
awarm.space
3 months ago
4d7c15b0
c5913f0b
+4
-2
1 changed file
expand all
collapse all
unified
split
app
(home-pages)
home
HomeLayout.tsx
+4
-2
app/(home-pages)/home/HomeLayout.tsx
···
309
309
!filter.templates &&
310
310
!filter.archived
311
311
)
312
312
-
return archived === false || archived === null;
312
312
+
return archived === false || archived === null || archived == undefined;
313
313
314
314
return (
315
315
(filter.drafts && drafts) ||
316
316
(filter.published && published) ||
317
317
-
(filter.docs && docs && (archived === false || archived === null)) ||
317
317
+
(filter.docs &&
318
318
+
docs &&
319
319
+
(archived === false || archived === null || archived || undefined)) ||
318
320
(filter.templates && templates) ||
319
321
(filter.archived && archived)
320
322
);