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:
parent
06f157b2c9
commit
eb0c8f389b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user