Add ability to load page version in editor service and show in version modal
This commit is contained in:
@@ -49,7 +49,7 @@ export class EditorPage implements OnInit {
|
||||
|
||||
ionViewDidEnter() {
|
||||
if ( this.pageId ) {
|
||||
this.editorService.startEditing(this.pageId);
|
||||
this.editorService.startEditing(this.pageId, this.version);
|
||||
} else if ( !this.hosted ) {
|
||||
this.router.navigate(['/home']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user