diff options
author | 2017-10-29 18:52:54 -0400 | |
---|---|---|
committer | 2017-10-29 18:52:54 -0400 | |
commit | 032bab130a3f6145b0351760bea6e04e9d1e87bc (patch) | |
tree | def65fbcf4e4cd6539325fb3d61aa8799663f938 /src/containers/settings/ServicesScreen.js | |
parent | Merge pull request #157 from RainoBoy97/master (diff) | |
download | ferdium-app-032bab130a3f6145b0351760bea6e04e9d1e87bc.tar.gz ferdium-app-032bab130a3f6145b0351760bea6e04e9d1e87bc.tar.zst ferdium-app-032bab130a3f6145b0351760bea6e04e9d1e87bc.zip |
Reset setting status when navigating away from services screen
Diffstat (limited to 'src/containers/settings/ServicesScreen.js')
-rw-r--r-- | src/containers/settings/ServicesScreen.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/settings/ServicesScreen.js b/src/containers/settings/ServicesScreen.js index d0580041f..8cfe5efbf 100644 --- a/src/containers/settings/ServicesScreen.js +++ b/src/containers/settings/ServicesScreen.js | |||
@@ -18,6 +18,7 @@ export default class ServicesScreen extends Component { | |||
18 | 18 | ||
19 | componentWillUnmount() { | 19 | componentWillUnmount() { |
20 | this.props.actions.service.resetFilter(); | 20 | this.props.actions.service.resetFilter(); |
21 | this.props.actions.service.resetStatus(); | ||
21 | } | 22 | } |
22 | 23 | ||
23 | deleteService() { | 24 | deleteService() { |
@@ -70,6 +71,7 @@ ServicesScreen.wrappedComponent.propTypes = { | |||
70 | toggleService: PropTypes.func.isRequired, | 71 | toggleService: PropTypes.func.isRequired, |
71 | filter: PropTypes.func.isRequired, | 72 | filter: PropTypes.func.isRequired, |
72 | resetFilter: PropTypes.func.isRequired, | 73 | resetFilter: PropTypes.func.isRequired, |
74 | resetStatus: PropTypes.func.isRequired, | ||
73 | }).isRequired, | 75 | }).isRequired, |
74 | }).isRequired, | 76 | }).isRequired, |
75 | }; | 77 | }; |