summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/main.ts
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-02-09 19:00:35 +0000
committerMichael Morris <michael.morris@est.tech>2022-03-11 15:25:28 +0000
commitf13f58eb867c763e6ed1c3b674fd99b1081a0664 (patch)
treec0ccc70b8fdf4362bce26efa0a5bb1c435f98575 /catalog-ui/src/main.ts
parent767b122ea026099e17a2ffde30e6718d2abf150f (diff)
Support complex types in interface operation inputs
Issue-ID: SDC-3897 Change-Id: Ieac2d74ad340de1d9f6e4cd3ac830e2ec8c35d5b Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: vasraz <vasyl.razinkov@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'catalog-ui/src/main.ts')
-rw-r--r--catalog-ui/src/main.ts29
1 files changed, 14 insertions, 15 deletions
diff --git a/catalog-ui/src/main.ts b/catalog-ui/src/main.ts
index f19f9c4b4e..fd6c834b08 100644
--- a/catalog-ui/src/main.ts
+++ b/catalog-ui/src/main.ts
@@ -18,7 +18,6 @@
* ============LICENSE_END=========================================================
*/
-//import './app/app.ts';
import {ng1appModule} from './app/app';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {enableProdMode} from '@angular/core';
@@ -29,21 +28,21 @@ import {IAppConfigurtaion} from "./app/models/app-config";
declare const __ENV__: string;
export declare let sdc2Config: IAppConfigurtaion;
-if (__ENV__==='prod') {
- sdc2Config = require('./../configurations/prod.js');
- enableProdMode();
+if (__ENV__ === 'prod') {
+ sdc2Config = require('./../configurations/prod.js');
+ enableProdMode();
} else {
- sdc2Config = require('./../configurations/dev.js');
+ sdc2Config = require('./../configurations/dev.js');
}
-// Ugliy fix because the cookie recieved from webseal change his value after some seconds.
-let timeout:number = 0;
-if (__ENV__==='dev'){
- timeout=0;
+// Uglify fix because the cookie received from webseal change his value after some seconds.
+let timeout: number = 0;
+if (__ENV__ === 'dev') {
+ timeout = 0;
}
-window.setTimeout(()=>{
- platformBrowserDynamic().bootstrapModule(AppModule).then(platformRef => {
- const upgrade = platformRef.injector.get(UpgradeModule) as UpgradeModule;
- upgrade.bootstrap(document.body, [ng1appModule.name], {strictDi: true});
- });
-},timeout);
+window.setTimeout(() => {
+ platformBrowserDynamic().bootstrapModule(AppModule).then(platformRef => {
+ const upgrade = platformRef.injector.get(UpgradeModule) as UpgradeModule;
+ upgrade.bootstrap(document.body, [ng1appModule.name], {strictDi: true});
+ });
+}, timeout);