aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/api/PolicyService.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/api/PolicyService.js')
-rw-r--r--ui-react/src/api/PolicyService.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/api/PolicyService.js b/ui-react/src/api/PolicyService.js
index a9f44b2a4..855d44167 100644
--- a/ui-react/src/api/PolicyService.js
+++ b/ui-react/src/api/PolicyService.js
@@ -40,7 +40,7 @@ export default class PolicyService {
.catch(function(error) {
console.error("getPoliciesList error occurred ", error);
alert("getPoliciesList error occurred " + error);
- return "";
+ return undefined;
})
}
static createNewPolicy(policyModelType, policyModelVersion, policyName, policyVersion, policyJson) {
@@ -67,7 +67,7 @@ export default class PolicyService {
.catch(function (error) {
console.error("createNewPolicy error occurred ", error);
alert ("createNewPolicy error occurred " + error);
- return "";
+ return undefined;
});
}
static deletePolicy(policyModelType, policyModelVersion, policyName, policyVersion) {
@@ -90,7 +90,7 @@ export default class PolicyService {
.catch(function (error) {
console.error("deletePolicy error occurred ", error);
alert ("deletePolicy error occurred " + error);
- return "";
+ return undefined;
});
}
}