feat(app): sheet draft editor route, modes, recovery offer and conflict dialog
This commit is contained in:
1 parent
b14509f221
commit
6aba9711f0
44 files changed
+3143
-13
No files matched your search
@@ -33,7 +33,7 @@ function proposedSlug(slug: string): string {
|
||||
/**
|
||||
* « Créer une copie de travail » (W1, §14.3, BDR-097), editor only, on the
|
||||
* historical sheet: a slug, then `create_sheet_working_copy` on the source
|
||||
* version; the new copy's overview opens (its editor arrives with V1-2.6).
|
||||
* version; the new copy's draft editor opens.
|
||||
*/
|
||||
export default function WorkingCopyAction({
|
||||
slug,
|
||||
@@ -77,7 +77,7 @@ export default function WorkingCopyAction({
|
||||
typed,
|
||||
)
|
||||
setOpen(false)
|
||||
navigate(`/app/admin/sheets/${sheetId}`)
|
||||
navigate(`/app/admin/sheets/${sheetId}/draft`)
|
||||
} catch (caught) {
|
||||
setFailure(classifySheetError(caught))
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user