mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-31 14:25:30 +00:00
fix for undefined issue in ownership transfer
This commit is contained in:
@@ -233,10 +233,8 @@ angular.module('controller.records', [])
|
||||
|
||||
$scope.requestOwnerShipTransfer = function(record, isOwnerShipRequest) {
|
||||
$scope.currentRecord = angular.copy(record);
|
||||
if ($scope.currentRecord.recordSetGroupChange == undefined){
|
||||
$scope.currentRecord.recordSetGroupChange = {}
|
||||
$scope.currentRecord.recordSetGroupChange.requestedOwnerGroupId = angular.copy(record.ownerGroupId);
|
||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved");
|
||||
if (record.recordSetGroupChange == undefined){
|
||||
record.recordSetGroupChange = {}
|
||||
}
|
||||
$scope.currentRecord.recordSetGroupChange = angular.copy(record.recordSetGroupChange);
|
||||
$scope.recordModal = {
|
||||
|
Reference in New Issue
Block a user