Skip to content

Commit

Permalink
DP-199 (Uncommenting DF_ALWAYS_WRAP_RESOURCES breaks the Services tab)
Browse files Browse the repository at this point in the history
- Rename wrapper variable
  • Loading branch information
yaroslavmo committed Apr 22, 2020
1 parent fe66762 commit 73158f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,9 @@ angular.module('dfApplication', ['dfUtility', 'dfUserManagement', 'ngResource'])
var jsonData = angular.fromJson(data);
if (Array.isArray(jsonData)) {
var result = {};
var wrapper = systemConfigDataService.getSystemConfig().config.resources_wrapper;
var resourcesWrapper = systemConfigDataService.getSystemConfig().config.resources_wrapper;

result[wrapper] = jsonData;
result[resourcesWrapper] = jsonData;
return result;
}
return jsonData;
Expand Down

0 comments on commit 73158f8

Please sign in to comment.