diff options
author | 2018-12-01 20:56:12 +0100 | |
---|---|---|
committer | 2018-12-01 20:56:12 +0100 | |
commit | 4996cccc05f588695698083fcbd020651251c7d1 (patch) | |
tree | 1bcf276ec4f90899627b81aba717d9a7fef4d45f | |
parent | Remove unnecessary code (diff) | |
download | ferdium-app-4996cccc05f588695698083fcbd020651251c7d1.tar.gz ferdium-app-4996cccc05f588695698083fcbd020651251c7d1.tar.zst ferdium-app-4996cccc05f588695698083fcbd020651251c7d1.zip |
Do a complete app reload after service update
This will immediately update the module that is running in Franz as well.
-rw-r--r-- | src/containers/layout/AppLayoutContainer.js | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
43 | handleIPCMessage, | 43 | handleIPCMessage, |
44 | setWebviewReference, | 44 | setWebviewReference, |
45 | openWindow, | 45 | openWindow, |
46 | reloadUpdatedServices, | ||
47 | reorder, | 46 | reorder, |
48 | reload, | 47 | reload, |
49 | toggleNotifications, | 48 | toggleNotifications, |
@@ -122,7 +121,7 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e | |||
122 | services={servicesContainer} | 121 | services={servicesContainer} |
123 | news={news.latest} | 122 | news={news.latest} |
124 | removeNewsItem={hide} | 123 | removeNewsItem={hide} |
125 | reloadServicesAfterUpdate={reloadUpdatedServices} | 124 | reloadServicesAfterUpdate={() => window.location.reload()} |
126 | installAppUpdate={installUpdate} | 125 | installAppUpdate={installUpdate} |
127 | globalError={globalError.error} | 126 | globalError={globalError.error} |
128 | showRequiredRequestsError={requests.showRequiredRequestsError} | 127 | showRequiredRequestsError={requests.showRequiredRequestsError} |