feat(legal): Als-Entwurf-kopieren für Rechtstexte
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 33s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 8s
Test Suite / playwright-tests (push) Failing after 51s
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 33s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 8s
Test Suite / playwright-tests (push) Failing after 51s
POST /api/admin/legal-documents/{id}/copy-as-draft übernimmt Titel +
Inhalt des Quelldokuments und legt einen neuen Entwurf mit
nächster Versionsnummer an. Funktioniert für alle Status (draft/published/archived).
UI: Copy-Button (⎘) in jeder Dokumentzeile; nach Kopie wird die
Liste automatisch aktualisiert und der neue Entwurf ist sichtbar.
version: 0.8.72
module: legal_documents 1.1.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
b9adf6da84
commit
8992c300f1
5 files changed
+97
-6
No files matched your search
@@ -1532,6 +1532,8 @@ export const api = {
|
||||
}),
|
||||
archiveLegalDocument: (id) =>
|
||||
request(`/api/admin/legal-documents/${id}/archive`, { method: 'POST' }),
|
||||
copyLegalDocumentAsDraft: (id) =>
|
||||
request(`/api/admin/legal-documents/${id}/copy-as-draft`, { method: 'POST' }),
|
||||
getLegalDocumentAudit: (id) =>
|
||||
request(`/api/admin/legal-documents/${id}/audit`),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user