Map operation outputs to input properties
Change-Id: Iedf41e429c87ac9e15c8ff520e3ce7d69e44293d
Issue-ID: SDC-2084
Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
diff --git a/catalog-ui/src/app/models/operation.ts b/catalog-ui/src/app/models/operation.ts
index 6eeccec..d36b72a 100644
--- a/catalog-ui/src/app/models/operation.ts
+++ b/catalog-ui/src/app/models/operation.ts
@@ -81,9 +81,9 @@
}
}
- 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);
}
}