From 4ae0692649f14992838689440515db9f756fb3bf Mon Sep 17 00:00:00 2001 From: narchana Date: Wed, 7 Aug 2024 16:59:43 -0400 Subject: [PATCH] Update scheme view --- .../substance-form-ssg4m-process-card.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/core/substance-ssg4m/ssg4m-process/substance-form-ssg4m-process-card.component.ts b/src/app/core/substance-ssg4m/ssg4m-process/substance-form-ssg4m-process-card.component.ts index edd3d1d05..3f71f7ab2 100644 --- a/src/app/core/substance-ssg4m/ssg4m-process/substance-form-ssg4m-process-card.component.ts +++ b/src/app/core/substance-ssg4m/ssg4m-process/substance-form-ssg4m-process-card.component.ts @@ -62,6 +62,12 @@ export class SubstanceFormSsg4mProcessCardComponent extends SubstanceCardBaseFil //TODO: make more configurable and standardized console.log("About to configure the scheme view"); window['schemeUtil'].debug = false; + + window['schemeUtil'].maxContinuousSteps = 1; + window['schemeUtil'].maxTextLen = 19; + window['schemeUtil'].BREAK_GAP = 300; + window['schemeUtil'].maxTitleTextLen = 100; + const url = `${(this.configService.configData && this.configService.configData.apiBaseUrl) || '/'}api/v1/`; const httpp = this.http; window['schemeUtil'].apiBaseURL = url;