File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
ui/src/app/shared/workflow/wizard/context Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line n
8000
umber Diff line change @@ -29,6 +29,9 @@ export class WorkflowWizardNodeContextComponent implements OnInit {
29
29
@Input ( 'node' ) set node ( data : WNode ) {
30
30
if ( data ) {
31
31
this . editableNode = cloneDeep ( data ) ;
32
+ if ( this . editableNode . context . application_id !== 0 && this . applications ) {
33
+ this . change ( ) ;
34
+ }
32
35
this . updateVCSStatusCheck ( ) ;
33
36
}
34
37
} ;
@@ -63,6 +66,9 @@ export class WorkflowWizardNodeContextComponent implements OnInit {
63
66
this . applications = cloneDeep ( this . project . application_names ) || [ ] ;
64
67
this . applications . unshift ( voidApp ) ;
65
68
this . updateVCSStatusCheck ( ) ;
69
+ if ( this . editableNode . context . application_id !== 0 ) {
70
+ this . change ( ) ;
71
+ }
66
72
}
67
73
68
74
pushChange ( ) : void {
Original file line number Diff line number Diff line change 30
30
< div class ="twelve wide field ">
31
31
< sui-select class ="fluid selection "
32
32
[(ngModel)] ="node.context.application_id "
33
- (ngModelChange) ="updateVCSStatusCheck(true ) "
33
+ (ngModelChange) ="change( ) "
34
34
[options] ="applications "
35
35
labelField ="name "
36
36
valueField ="id "
You can’t perform that action at this time.
0 commit comments