Make sure ref field in manual trigger dialog is cleared

This commit is contained in:
Joseph Schorr 2017-03-07 20:39:57 -05:00
parent 0ab6388e30
commit 19bc023ce0
2 changed files with 4 additions and 1 deletions

View file

@ -26,7 +26,8 @@
icon-key="kind"
icon-map="field.iconMap"
items="fieldOptions[field.name]"
ng-show="fieldOptions[field.name]"></div>
ng-show="fieldOptions[field.name]"
clear-value="counter"></div>
</div>
<!-- Option -->

View file

@ -57,6 +57,8 @@ angular.module('quay').directive('manualTriggerBuildDialog', function () {
$scope.fieldOptions[parameter['name']] = resp['values'];
});
}
delete $scope.parameters[parameter['name']];
}
$scope.runParameters = parameters;