This repository was archived by the owner on May 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
ui/app/scripts/stream/controllers Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ define([], function () {
67
67
}
68
68
69
69
70
- var propertiesSchemaPromise = cell . attr ( 'metadata' ) . get ( 'properties' ) ;
70
+ var metadata = cell . attr ( 'metadata' ) ;
71
+ var propertiesSchemaPromise = metadata . get ( 'properties' ) ;
71
72
$scope . cgbusy = propertiesSchemaPromise ;
72
73
propertiesSchemaPromise . then ( function ( schemaProperties ) {
73
74
var properties = { } ;
@@ -81,7 +82,9 @@ define([], function () {
81
82
// If the user specifies a name in the DSL then that 'alias' should be
82
83
// used when converting the properties back to text. By default the
83
84
// short-name will be used if the user hasn't specified anything.
84
- var nameInUse = schema . name ;
85
+ // The alias is applicable to sources, processors and sinks.
86
+ // Exclusions are: explicit taps and destinations. The entire other group.
87
+ var nameInUse = metadata . group === 'other' ? schema . id : schema . name ;
85
88
var props = cell . attr ( 'props' ) ;
86
89
if ( props . hasOwnProperty ( key ) ) { // long-name, eg. 'trigger.cron'
87
90
specifiedValue = props [ key ] ;
You can’t perform that action at this time.
0 commit comments