feat: duplicate a document as draft (#6782)
* feat: duplicate a document as draft * review * Default `publish` toggle to match current document Ensures duplicating a draft does not publish it. --------- Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -567,6 +567,7 @@ export default class DocumentsStore extends Store<Document> {
|
||||
document: Document,
|
||||
options?: {
|
||||
title?: string;
|
||||
publish?: boolean;
|
||||
recursive?: boolean;
|
||||
}
|
||||
): Promise<Document[]> => {
|
||||
|
||||
Reference in New Issue
Block a user