From 9966df615382815fb6169c9ecd9e3e696f8fa615 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Mon, 15 Feb 2016 11:22:27 +0100 Subject: Update runnable list after uninstall --- afm-client/app/Frontend/pages/Dashboard/DashboardModule.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'afm-client/app/Frontend/pages') 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() { -- cgit 1.2.3-korg