summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/operation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/operation.ts')
-rw-r--r--catalog-ui/src/app/models/operation.ts6
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);
}
}