diff options
Diffstat (limited to 'src/components/services/content')
-rw-r--r-- | src/components/services/content/ServiceView.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 5afc54f9d..ada920cb6 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -37,6 +37,7 @@ export default @observer class ServiceView extends Component { | |||
37 | 37 | ||
38 | componentDidMount() { | 38 | componentDidMount() { |
39 | this.autorunDisposer = autorun(() => { | 39 | this.autorunDisposer = autorun(() => { |
40 | if (!this.isMounted) return; | ||
40 | if (this.props.service.isActive) { | 41 | if (this.props.service.isActive) { |
41 | this.setState({ forceRepaint: true }); | 42 | this.setState({ forceRepaint: true }); |
42 | setTimeout(() => { | 43 | setTimeout(() => { |