diff options
Diffstat (limited to 'src/components/services/content/ServiceView.js')
-rw-r--r-- | src/components/services/content/ServiceView.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/components/services/content/ServiceView.js b/src/components/services/content/ServiceView.js index 1bc1fbf5f..1ffdd2153 100644 --- a/src/components/services/content/ServiceView.js +++ b/src/components/services/content/ServiceView.js | |||
@@ -1,3 +1,4 @@ | |||
1 | /* eslint-disable react/jsx-no-useless-fragment */ | ||
1 | import { Component, Fragment } from 'react'; | 2 | import { Component, Fragment } from 'react'; |
2 | import PropTypes from 'prop-types'; | 3 | import PropTypes from 'prop-types'; |
3 | import { autorun } from 'mobx'; | 4 | import { autorun } from 'mobx'; |
@@ -65,17 +66,6 @@ class ServiceView extends Component { | |||
65 | clearTimeout(this.hibernationTimer); | 66 | clearTimeout(this.hibernationTimer); |
66 | } | 67 | } |
67 | 68 | ||
68 | updateTargetUrl = event => { | ||
69 | let visible = true; | ||
70 | if (event.url === '' || event.url === '#') { | ||
71 | visible = false; | ||
72 | } | ||
73 | this.setState({ | ||
74 | targetUrl: event.url, | ||
75 | statusBarVisible: visible, | ||
76 | }); | ||
77 | }; | ||
78 | |||
79 | render() { | 69 | render() { |
80 | const { | 70 | const { |
81 | detachService, | 71 | detachService, |