From f758cd179a620805856f2f30ba516c6929ae2c28 Mon Sep 17 00:00:00 2001 From: Brendan Schlagel Date: Sun, 15 Feb 2026 16:04:44 -0500 Subject: [PATCH] make looseleaf work as option in PubSelector even if no publications exist --- app/[leaflet_id]/actions/PublishButton.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/[leaflet_id]/actions/PublishButton.tsx b/app/[leaflet_id]/actions/PublishButton.tsx index 7ba596ef..6ca18b02 100644 --- a/app/[leaflet_id]/actions/PublishButton.tsx +++ b/app/[leaflet_id]/actions/PublishButton.tsx @@ -345,17 +345,20 @@ const PubSelector = (props: {
Publish to…
{props.publications.length === 0 || props.publications === undefined ? (
-
- + props.setSelectedPub("looseleaf")} + > +
Publish as Looseleaf
- Publish this as a one off doc to AT Proto + Publish as a one-off doc to AT Proto
-
+
@@ -363,7 +366,7 @@ const PubSelector = (props: { Publish to Publication
- Publish your writing to a blog on AT Proto + Publish to a blog on AT Proto

-- 2.51.2