From fc9b6e3e306b05b4e9a35d5f7b32b796e73187aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Wed, 13 Oct 2021 17:05:12 +0300 Subject: [PATCH] RED-2419: Fixed missing colorpicker --- apps/red-ui/src/app/app.component.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/app.component.ts b/apps/red-ui/src/app/app.component.ts index 1bec5a390..168178363 100644 --- a/apps/red-ui/src/app/app.component.ts +++ b/apps/red-ui/src/app/app.component.ts @@ -1,8 +1,11 @@ -import { Component } from '@angular/core'; +import { Component, ViewContainerRef } from '@angular/core'; @Component({ selector: 'redaction-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], }) -export class AppComponent {} +export class AppComponent { + // View container ref needs to be injected for the color picker to work + constructor(public viewContainerRef: ViewContainerRef) {} +}