diff options
Diffstat (limited to 'src/features/quickSwitch/Component.js')
-rw-r--r-- | src/features/quickSwitch/Component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/quickSwitch/Component.js b/src/features/quickSwitch/Component.js index 04822db71..812f2c04b 100644 --- a/src/features/quickSwitch/Component.js +++ b/src/features/quickSwitch/Component.js | |||
@@ -28,7 +28,7 @@ const messages = defineMessages({ | |||
28 | }, | 28 | }, |
29 | }); | 29 | }); |
30 | 30 | ||
31 | const styles = theme => ({ | 31 | const styles = (theme) => ({ |
32 | modal: { | 32 | modal: { |
33 | width: '80%', | 33 | width: '80%', |
34 | maxWidth: 600, | 34 | maxWidth: 600, |
@@ -139,7 +139,7 @@ export default @injectSheet(styles) @inject('stores', 'actions') @observer class | |||
139 | if (this.state.search && compact(invoke(this.state.search, 'match', /^[a-z0-9]/i)).length > 0) { | 139 | if (this.state.search && compact(invoke(this.state.search, 'match', /^[a-z0-9]/i)).length > 0) { |
140 | // Apply simple search algorythm to list of all services | 140 | // Apply simple search algorythm to list of all services |
141 | services = this.props.stores.services.allDisplayed; | 141 | services = this.props.stores.services.allDisplayed; |
142 | services = services.filter(service => service.name.toLowerCase().search(this.state.search.toLowerCase()) !== -1); | 142 | services = services.filter((service) => service.name.toLowerCase().search(this.state.search.toLowerCase()) !== -1); |
143 | } else { | 143 | } else { |
144 | // Add the currently active service first | 144 | // Add the currently active service first |
145 | const currentService = this.props.stores.services.active; | 145 | const currentService = this.props.stores.services.active; |