mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-31 14:25:30 +00:00
correctly clear ownerGroupId in new batch change form (#482)
This commit is contained in:
@@ -56,6 +56,9 @@
|
|||||||
$scope.processing = true;
|
$scope.processing = true;
|
||||||
|
|
||||||
var payload = $scope.newBatch;
|
var payload = $scope.newBatch;
|
||||||
|
if (!$scope.newBatch.ownerGroupId) {
|
||||||
|
delete payload.ownerGroupId
|
||||||
|
}
|
||||||
|
|
||||||
function success(response) {
|
function success(response) {
|
||||||
var alert = utilityService.success('Successfully Created Batch Change', response, 'createBatchChange: createBatchChange successful');
|
var alert = utilityService.success('Successfully Created Batch Change', response, 'createBatchChange: createBatchChange successful');
|
||||||
|
Reference in New Issue
Block a user