From 4996cccc05f588695698083fcbd020651251c7d1 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Sat, 1 Dec 2018 20:56:12 +0100 Subject: Do a complete app reload after service update This will immediately update the module that is running in Franz as well. --- src/containers/layout/AppLayoutContainer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/containers/layout') diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index ce7f89c42..e1423bdaa 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js @@ -43,7 +43,6 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e handleIPCMessage, setWebviewReference, openWindow, - reloadUpdatedServices, reorder, reload, toggleNotifications, @@ -122,7 +121,7 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e services={servicesContainer} news={news.latest} removeNewsItem={hide} - reloadServicesAfterUpdate={reloadUpdatedServices} + reloadServicesAfterUpdate={() => window.location.reload()} installAppUpdate={installUpdate} globalError={globalError.error} showRequiredRequestsError={requests.showRequiredRequestsError} -- cgit v1.2.3-70-g09d2