Skip to content
Snippets Groups Projects
Commit ccb37cfc authored by François Agneray's avatar François Agneray
Browse files

Fixed bug: In detail page choose detail renderer

parent 76db9235
No related branches found
No related tags found
1 merge request!72Develop
Pipeline #9748 passed
Pipeline: anis-next

#9749

    ......@@ -32,8 +32,9 @@ export abstract class AbstractDisplayRendererComponent implements OnInit, OnDest
    ngOnInit() {
    const viewContainerRef = this.rendererLoaderDirective.viewContainerRef;
    const renderer = (this.rendererType === 'result') ? this.attribute.renderer : this.attribute.detail_renderer;
    this.componentRef = viewContainerRef.createComponent<AbstractRendererComponent>(
    this.getRendererComponent(this.attribute.renderer)
    this.getRendererComponent(renderer)
    );
    this.componentRef.instance.rendererType = this.rendererType;
    this.componentRef.instance.value = this.value;
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment