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) {} +}