mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
fix saving of new jts error
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user