fix: sample unavailable when no schema in response object

This commit is contained in:
Roman Hotsiy 2017-05-05 11:47:00 +03:00
parent bb00dc3426
commit 1eedbfeb98
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -33,7 +33,7 @@ export class SchemaSample extends BaseComponent implements OnInit {
init() {
this.bindEvents();
let base:any = {};
let base:any = this.componentSchema;
let sample;
// got pointer not directly to the schema but e.g. to the response obj