Add VSCode editor component
This commit is contained in:
@@ -203,6 +203,9 @@ export class DatabaseComponent implements OnInit {
|
||||
getInitObservable(): Observable<any> {
|
||||
return new Observable<any>(sub => {
|
||||
if ( this.hostRecord && this.pendingSetup ) {
|
||||
if ( !this.hostRecord.Value ) {
|
||||
this.hostRecord.Value = {};
|
||||
}
|
||||
if ( !this.hostRecord.Value.Value ) {
|
||||
this.api.post(`/db/${this.hostRecord.PageId}/${this.hostRecord.UUID}/create`).subscribe(res => {
|
||||
this.dbRecord = res.data;
|
||||
|
||||
Reference in New Issue
Block a user