summaryrefslogtreecommitdiffstats
path: root/afm-client/app/Frontend/pages
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2016-02-15 11:22:27 +0100
committerFulup Ar Foll <fulup@iot.bzh>2016-02-15 11:22:27 +0100
commit9966df615382815fb6169c9ecd9e3e696f8fa615 (patch)
treef06897670192a98b6917e42f1c50d3ea9924aa18 /afm-client/app/Frontend/pages
parent9bd23d89edbc2dad7f5da8088fa788a7632eade2 (diff)
Update runnable list after uninstall
Diffstat (limited to 'afm-client/app/Frontend/pages')
-rw-r--r--afm-client/app/Frontend/pages/Dashboard/DashboardModule.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js b/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
index f4330cf..a52e5b6 100644
--- a/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
+++ b/afm-client/app/Frontend/pages/Dashboard/DashboardModule.js
@@ -21,6 +21,9 @@ angular.module('DashboardModule', ['SubmitButton', 'TokenRefresh', 'AppliButton'
scope.request = action;
scope.errcode = response.status;
if (response.data) scope.response = response.data;
+
+ // On app was removed let's update runnable list
+ if (action === "uninstall") scope.GetRunnables();
};
scope.GetRunnables = function() {