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 4fee8f4e6f..ccb0658056 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 @@ -8,10 +8,12 @@ import { BehaviorSubject, map, Observable, Subject, Subscription } from 'rxjs'; styleUrl: 'okr-tangram.component.scss', }) export class OkrTangramComponent { - private readonly defaultTrianglesSrc = 'assets/images/empty.svg'; + private readonly DEFAULT_TRIANGLE_SRC = 'assets/images/empty.svg'; trianglesSrc$ = new Observable(); constructor(private readonly configService: ConfigService) { - this.trianglesSrc$ = this.configService.config$.pipe(map((config) => config.triangles || this.defaultTrianglesSrc)); + this.trianglesSrc$ = this.configService.config$.pipe( + map((config) => config.triangles || this.DEFAULT_TRIANGLE_SRC), + ); } }