aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/model/ServiceModel.java2
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/model/ServiceModel.java b/vid-app-common/src/main/java/org/onap/vid/model/ServiceModel.java
index 121c7e4c1..1c8a465cb 100644
--- a/vid-app-common/src/main/java/org/onap/vid/model/ServiceModel.java
+++ b/vid-app-common/src/main/java/org/onap/vid/model/ServiceModel.java
@@ -333,7 +333,7 @@ public class ServiceModel {
// now check to see if there is a vf module with customization name that starts with normalizedVnfCustomizationName
- if (!MapUtils.isEmpty(getVolumeGroups())) {
+ if (!MapUtils.isEmpty(getVfModules())) {
for (Entry<String, VfModule> vfModuleComponent : getVfModules().entrySet()) {
vfModuleCustomizationName = vfModuleComponent.getValue().getModelCustomizationName();
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js
index 9abcb42e6..15717130a 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js
@@ -61,12 +61,12 @@ var detailsDialogController = function($scope, $http, $timeout, $log,
$scope.log = MsoService.getFormattedCommonResponse(response);
MsoService.showResponseContentError(error, showError);
}
- }
+ };
$scope.close = function() {
$scope.isDialogVisible = false;
$scope.popup.isVisible = false;
- }
+ };
var showError = function(summary, details) {
var message = summary;
@@ -76,8 +76,8 @@ var detailsDialogController = function($scope, $http, $timeout, $log,
$scope.isSpinnerVisible = false;
$scope.isErrorVisible = true;
$scope.error = message;
- }
-}
+ };
+};
appDS2.controller("detailsDialogController", [ "$scope", "$http", "$timeout",
"$log", "MsoService", "DetailsService", "UtilityService", "COMPONENT", "FIELD",