NIFI-12403 Improve Jolt UI Parameter Processing (#8060)

* Improved Jolt UI Parameter Processing

* Changed double quotes to single quotes per review

This closes #8060
This commit is contained in:
David Handermann 2023-11-22 13:37:02 -06:00 committed by GitHub
parent d0c7ebb196
commit 50efc55df6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -408,8 +408,8 @@ var TransformJsonController = function ($scope, $state, $q, $mdDialog, $timeout,
$scope.processorId = params.id;
$scope.clientId = params.clientId;
$scope.revisionId = params.revision;
$scope.disconnectedNodeAcknowledged = eval(params.disconnectedNodeAcknowledged);
$scope.editable = eval(params.editable);
$scope.disconnectedNodeAcknowledged = params.disconnectedNodeAcknowledged === 'true';
$scope.editable = params.editable === 'true';
var jsonSpec = $scope.getSpec($scope.transform,$scope.jsonSpec);
if(jsonSpec != null && jsonSpec != ""){