From 3d22995f04fb9204ae4a1297b0888c2f86f52d11 Mon Sep 17 00:00:00 2001 From: Maya Nedeljkovich Date: Fri, 21 Jul 2017 11:54:33 +0200 Subject: [PATCH] fix(workflow-editor): fix step inspector not showing --- package-lock.json | 48 +++++++++---------- package.json | 17 ++++--- .../step-inspector.component.ts | 11 +++-- 3 files changed, 40 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6c65208a..cd51ea102 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,17 +73,17 @@ } }, "@angular/common": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-4.3.0.tgz", - "integrity": "sha1-E6VKaSndUvlymxauRG+tWP4WMFM=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-4.3.1.tgz", + "integrity": "sha1-Jg9IenzcoybENr0+qVFceX3i/3I=", "requires": { "tslib": "1.7.1" } }, "@angular/compiler": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-4.3.0.tgz", - "integrity": "sha1-VVA78nofBi9xuUlTk/MxGQOo/EM=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-4.3.1.tgz", + "integrity": "sha1-OiTUns8BrCtuB/Y+N4uP+OJX/gk=", "requires": { "tslib": "1.7.1" } @@ -100,49 +100,49 @@ } }, "@angular/core": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-4.3.0.tgz", - "integrity": "sha1-vSJJw94SJKfGU2xKunKNZWUykzQ=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-4.3.1.tgz", + "integrity": "sha1-qdCn1kS5YmBnQmm2iaBP7qYyqNM=", "requires": { "tslib": "1.7.1" } }, "@angular/forms": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-4.3.0.tgz", - "integrity": "sha1-fQx6hUc36aMKX9lmX41PVqG5G9g=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-4.3.1.tgz", + "integrity": "sha1-M5FNossUZDD/kBRx5oLHZlRiLf4=", "requires": { "tslib": "1.7.1" } }, "@angular/http": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/http/-/http-4.3.0.tgz", - "integrity": "sha1-37czEKhApq2AUKxR8OVcSYTbCSY=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-4.3.1.tgz", + "integrity": "sha1-5PZh90ZxHojsvqdqPJBbq/l9MVo=", "requires": { "tslib": "1.7.1" } }, "@angular/platform-browser": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-4.3.0.tgz", - "integrity": "sha1-AjiUiRhRhcO+zwY1k0YQDlR5x+E=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-4.3.1.tgz", + "integrity": "sha1-23J7Bu7WS9pd7+xxgV2yak2i9pA=", "requires": { "tslib": "1.7.1" } }, "@angular/platform-browser-dynamic": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.3.0.tgz", - "integrity": "sha1-VR+xiFGyfujz5LDuJarRC9ezEuM=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-4.3.1.tgz", + "integrity": "sha1-hANNpgqC7zbn7/2ns63m5kWzMLM=", "requires": { "tslib": "1.7.1" } }, "@angular/router": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-4.3.0.tgz", - "integrity": "sha1-cbQo8YXrkWGh3hTcGUkhndzf/a4=", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-4.3.1.tgz", + "integrity": "sha1-UhnURSYVbYFgZYQRJ2EBZaAVtFA=", "requires": { "tslib": "1.7.1" } diff --git a/package.json b/package.json index b0a722720..f4bfcb04a 100644 --- a/package.json +++ b/package.json @@ -33,21 +33,20 @@ }, "private": true, "dependencies": { - "@angular/common": "^4.3.0", - "@angular/compiler": "^4.3.0", - "@angular/core": "^4.3.0", - "@angular/forms": "^4.3.0", - "@angular/http": "^4.3.0", - "@angular/platform-browser": "^4.3.0", - "@angular/platform-browser-dynamic": "^4.3.0", - "@angular/router": "^4.3.0", + "@angular/common": "^4.3.1", + "@angular/compiler": "^4.3.1", + "@angular/core": "^4.3.1", + "@angular/forms": "^4.3.1", + "@angular/http": "^4.3.1", + "@angular/platform-browser": "^4.3.1", + "@angular/platform-browser-dynamic": "^4.3.1", + "@angular/router": "^4.3.1", "ajv": "^5.1.6", "angular2-moment": "^1.6.0", "bootstrap": "4.0.0-alpha.5", "brace": "^0.10.0", "core-js": "^2.4.1", "cwl-svg": "0.0.37", - "cwlts": "^1.13.30", "font-awesome": "^4.7.0", "jquery": "^3.2.1", "js-yaml": "^3.9.0", diff --git a/src/app/workflow-editor/object-inspector/step-inspector/step-inspector.component.ts b/src/app/workflow-editor/object-inspector/step-inspector/step-inspector.component.ts index 7e780ca79..d3fa9cb86 100644 --- a/src/app/workflow-editor/object-inspector/step-inspector/step-inspector.component.ts +++ b/src/app/workflow-editor/object-inspector/step-inspector/step-inspector.component.ts @@ -1,4 +1,9 @@ -import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewEncapsulation} from "@angular/core"; +import { + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + Input +} from "@angular/core"; import {Workflow} from "cwl-svg"; import {StepModel, WorkflowModel} from "cwlts/models"; import {PlatformAPI} from "../../../services/api/platforms/platform-api.service"; @@ -79,7 +84,7 @@ export class StepInspectorComponent extends DirectiveBase { graph: Workflow; @Input() - fileID:string; + fileID: string; tabs = { Inputs: "inputs", @@ -111,7 +116,7 @@ export class StepInspectorComponent extends DirectiveBase { console.log("Should update app", ev, this); const [appHash] = this.fileID.split("/"); - const api = this.apiGateway.forHash(appHash); + const api = this.apiGateway.forHash(appHash); api.getApp(appData).subscribe((app) => {