Only prompt to recover when creating

This commit is contained in:
Kevin McConnell
2025-02-11 15:24:09 +00:00
parent c65da021dc
commit ce30959bbb
+1 -1
View File
@@ -1,7 +1,7 @@
<% @page_title = @bubble.title %>
<% content_for :header do %>
<% if @bubble.can_recover_abandoned_creation? %>
<% if @bubble.creating? && @bubble.can_recover_abandoned_creation? %>
<div class="flex align-center gap-half fill-selected justify-center border-block margin-block-end"
style="--border-color: var(--color-selected-dark); --border-style: dashed; view-transition-name: draft-banner;">
You have an unsaved bubble. Would you like to continue where you left off?