1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00

fix saving of new jts error

This commit is contained in:
John Mitchell 2016-04-29 10:11:00 -04:00
parent 06f157b2c9
commit eb0c8f389b

View File

@ -360,7 +360,7 @@
}); });
currentLabels.then(function (current) { currentLabels.then(function (current) {
var labelsToAdd = $scope.labels var labelsToAdd = ($scope.labels || [])
.map(val => val.value); .map(val => val.value);
var labelsToDisassociate = current var labelsToDisassociate = current
.filter(val => labelsToAdd .filter(val => labelsToAdd