Add ability to load page version in editor service and show in version modal
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
2020-11-02 22:45:17 -06:00
parent b2eb33f6a0
commit cd37ea1df1
4 changed files with 17 additions and 16 deletions

View File

@@ -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']);
}