2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 13:58:15 +00:00

correctly clear ownerGroupId in new batch change form (#482)

This commit is contained in:
Britney Wright 2019-02-12 16:15:56 -05:00 committed by GitHub
parent 7cc35c6474
commit 86ebae98c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,9 @@
$scope.processing = true;
var payload = $scope.newBatch;
if (!$scope.newBatch.ownerGroupId) {
delete payload.ownerGroupId
}
function success(response) {
var alert = utilityService.success('Successfully Created Batch Change', response, 'createBatchChange: createBatchChange successful');