Added 'duplicate' menu option
For now duplicates next to original document in the same collection
This commit is contained in:
@@ -270,6 +270,10 @@ class Document extends BaseModel {
|
||||
return false;
|
||||
};
|
||||
|
||||
duplicate = () => {
|
||||
this.emit('documents.duplicate', this);
|
||||
};
|
||||
|
||||
download() {
|
||||
const a = window.document.createElement('a');
|
||||
a.textContent = 'download';
|
||||
|
||||
Reference in New Issue
Block a user