summaryrefslogtreecommitdiffstats
path: root/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
diff options
context:
space:
mode:
Diffstat (limited to 'afm-client/app/Frontend/pages/Dashboard/DashboardModule.js')
-rw-r--r--afm-client/app/Frontend/pages/Dashboard/DashboardModule.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js b/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
index a52e5b6..dff21ed 100644
--- a/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
+++ b/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
@@ -42,7 +42,7 @@ angular.module('DashboardModule', ['SubmitButton', 'TokenRefresh', 'AppliButton'
}
// Check this is a valid response from Binder
- if (response.data.request.jtype !== "AJB_reply" && response.data.request.api !== "runnables") {
+ if (response.data.jtype != "afb-reply") {
Notification.error ({message: "Invalid Respond to /opa/afm-main/runnable response.data="+response.data, delay: 5000});
return;
}
@@ -78,4 +78,4 @@ angular.module('DashboardModule', ['SubmitButton', 'TokenRefresh', 'AppliButton'
});
console.log ("Dashboard Controller Loaded");
-})(); \ No newline at end of file
+})();