diff options
author | Arielk <Ariel.Kenan@amdocs.com> | 2019-01-27 16:30:57 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2019-01-28 15:01:13 +0000 |
commit | afd5f9573dfd0c89758ea3f0c0b02a838888ef90 (patch) | |
tree | 2ed98ba275fc50bf7bc44e5c0bf680f081ebf05a /catalog-ui/src/app/models | |
parent | 431ea6573f40fca7415cc189604226c396cd60ed (diff) |
Map operation outputs to input properties
Change-Id: Iedf41e429c87ac9e15c8ff520e3ce7d69e44293d
Issue-ID: SDC-2084
Signed-off-by: Arielk <Ariel.Kenan@amdocs.com>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r-- | catalog-ui/src/app/models/operation.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |