From 7d9503d67de0a816c30626fe3b3355e151792931 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Fri, 2 Dec 2016 12:02:40 +0200 Subject: [PATCH] Fix only the first instance of schema was rendered (fixes #150) --- lib/components/JsonSchema/json-schema-lazy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/JsonSchema/json-schema-lazy.ts b/lib/components/JsonSchema/json-schema-lazy.ts index 2427b701..a50aa65b 100644 --- a/lib/components/JsonSchema/json-schema-lazy.ts +++ b/lib/components/JsonSchema/json-schema-lazy.ts @@ -67,7 +67,7 @@ export class JsonSchemaLazy implements OnDestroy, AfterViewInit { this._loadAfterSelf(); return; } - //insertAfter($element.cloneNode(true), this.elementRef.nativeElement); + insertAfter($element.cloneNode(true), this.elementRef.nativeElement); this.loaded = true; } else { cache[this.pointer] = this._loadAfterSelf();