aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-03-08 17:34:27 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-03-08 08:34:27 -0800
commitbaa45d935540601c07977e4d786e0953165cf1fa (patch)
treeeee0423829cd4b8fb6306620edd8e85bc6fdaed8 /src/actions
parentfix(Linux): Fix minimized window focusing (#1304) (@skoruppa) (diff)
downloadferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.tar.gz
ferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.tar.zst
ferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.zip
Fix/service webview unmounting (#1328)
* detach service when underlying webview unmounts * disable no-param-reassign eslint rule
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/service.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/service.js b/src/actions/service.js
index 5d483b12a..ceaabc31e 100644
--- a/src/actions/service.js
+++ b/src/actions/service.js
@@ -1,4 +1,5 @@
1import PropTypes from 'prop-types'; 1import PropTypes from 'prop-types';
2import ServiceModel from '../models/Service';
2 3
3export default { 4export default {
4 setActive: { 5 setActive: {
@@ -36,6 +37,9 @@ export default {
36 serviceId: PropTypes.string.isRequired, 37 serviceId: PropTypes.string.isRequired,
37 webview: PropTypes.object.isRequired, 38 webview: PropTypes.object.isRequired,
38 }, 39 },
40 detachService: {
41 service: PropTypes.instanceOf(ServiceModel).isRequired,
42 },
39 focusService: { 43 focusService: {
40 serviceId: PropTypes.string.isRequired, 44 serviceId: PropTypes.string.isRequired,
41 }, 45 },