feat: Allow moving templates between collections (#1454)
- Allow template move in document policy - fix: Ensure that document is not added to collection structure in documentMover command - fix: Moving a template should now show nested documents as options - fix: Hitting 'm' should not allow moving a draft - fix: Styling of seperators on move screen
This commit is contained in:
@@ -133,7 +133,7 @@ class DocumentScene extends React.Component<Props> {
|
||||
ev.preventDefault();
|
||||
const { document, abilities } = this.props;
|
||||
|
||||
if (abilities.update) {
|
||||
if (abilities.move) {
|
||||
this.props.history.push(documentMoveUrl(document));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user