diff --git a/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.html b/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.html
index 92bb32f252..abd7776d79 100644
--- a/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.html
+++ b/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.html
@@ -1 +1 @@
-
+
diff --git a/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.ts b/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.ts
index 5fb7a3c399..4fee8f4e6f 100644
--- a/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.ts
+++ b/frontend/src/app/shared/custom/okr-tangram/okr-tangram.component.ts
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { ConfigService } from '../../../services/config.service';
-import { map, Observable } from 'rxjs';
+import { BehaviorSubject, map, Observable, Subject, Subscription } from 'rxjs';
@Component({
selector: 'app-okr-tangram',
@@ -8,12 +8,10 @@ import { map, Observable } from 'rxjs';
styleUrl: 'okr-tangram.component.scss',
})
export class OkrTangramComponent {
- private readonly DEFAULT_TRIANGLE_SRC = 'assets/images/empty.svg';
+ private readonly defaultTrianglesSrc = 'assets/images/empty.svg';
trianglesSrc$ = new Observable();
constructor(private readonly configService: ConfigService) {
- this.trianglesSrc$ = this.configService.config$.pipe(
- map((config) => config.triangles || this.DEFAULT_TRIANGLE_SRC),
- );
+ this.trianglesSrc$ = this.configService.config$.pipe(map((config) => config.triangles || this.defaultTrianglesSrc));
}
}