From 45d40297bf16bace33070a5d3cdd9ca0b234c3e9 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 29 Aug 2019 14:35:39 -0700 Subject: [PATCH] refresh app cache on cancel --- src/views/apps.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/apps.js b/src/views/apps.js index 4e7f6039d..3633f5059 100644 --- a/src/views/apps.js +++ b/src/views/apps.js @@ -472,6 +472,8 @@ angular.module('Application').controller('AppsController', ['$scope', '$location if (error) Client.error(error); $scope.appCancel.busy = false; + Client.refreshAppCache($scope.appCancel.app.id); // reflect the new app state immediately + $('#appCancelModal').modal('hide'); });