Make sure ref field in manual trigger dialog is cleared
This commit is contained in:
parent
0ab6388e30
commit
19bc023ce0
2 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
||||||
icon-key="kind"
|
icon-key="kind"
|
||||||
icon-map="field.iconMap"
|
icon-map="field.iconMap"
|
||||||
items="fieldOptions[field.name]"
|
items="fieldOptions[field.name]"
|
||||||
ng-show="fieldOptions[field.name]"></div>
|
ng-show="fieldOptions[field.name]"
|
||||||
|
clear-value="counter"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Option -->
|
<!-- Option -->
|
||||||
|
|
|
@ -57,6 +57,8 @@ angular.module('quay').directive('manualTriggerBuildDialog', function () {
|
||||||
$scope.fieldOptions[parameter['name']] = resp['values'];
|
$scope.fieldOptions[parameter['name']] = resp['values'];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete $scope.parameters[parameter['name']];
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.runParameters = parameters;
|
$scope.runParameters = parameters;
|
||||||
|
|
Reference in a new issue