Preview: Admin-API und Modus-Vorgabe

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-09-30 21:54:01 +00:00
1 parent 3316b562af
commit 07bef6971c
8 files changed
+412 -1

No files matched your search

+2
View File
@@ -95,6 +95,8 @@ export async function completeAssignment(
forCustomer: customer,
kindSetBy: staffName || '',
kindSetAt: now.toISOString(),
// Preview-Modus nur vorbelegen, wenn noch keiner gesetzt ist
...(project.previewMode ? {} : { previewMode: kind === 'website' || kind === 'webapp' ? 'auto' : 'off' }),
})
const result = { ticketId: finalTicketId }