From afd5f9573dfd0c89758ea3f0c0b02a838888ef90 Mon Sep 17 00:00:00 2001 From: Arielk Date: Sun, 27 Jan 2019 16:30:57 +0200 Subject: Map operation outputs to input properties Change-Id: Iedf41e429c87ac9e15c8ff520e3ce7d69e44293d Issue-ID: SDC-2084 Signed-off-by: Arielk --- catalog-ui/src/app/models/operation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'catalog-ui/src/app/models') diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts index 6eeccecd88..d36b72a140 100644 --- a/catalog-ui/src/app/models/operation.ts +++ b/catalog-ui/src/app/models/operation.ts @@ -81,9 +81,9 @@ export class OperationModel extends BEOperationModel { } } - public displayName(): string { - const lastDot = this.name ? this.name.lastIndexOf('.') : -1; - return lastDot === -1 ? this.name : this.name.substr(lastDot + 1); + public displayType(): string { + const lastDot = this.interfaceType ? this.interfaceType.lastIndexOf('.') : -1; + return lastDot === -1 ? this.interfaceType : this.interfaceType.substr(lastDot + 1); } } -- cgit 1.2.3-korg