2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-30 22:05:21 +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

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');