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:
parent
7cc35c6474
commit
86ebae98c3
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user