diff options
Diffstat (limited to 'src/features/quickSwitch/Component.js')
-rw-r--r-- | src/features/quickSwitch/Component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/quickSwitch/Component.js b/src/features/quickSwitch/Component.js index dfdd7bb17..9e66c444d 100644 --- a/src/features/quickSwitch/Component.js +++ b/src/features/quickSwitch/Component.js | |||
@@ -138,7 +138,7 @@ class QuickSwitchModal extends Component { | |||
138 | service.name.toLowerCase().search(this.state.search.toLowerCase()) !== | 138 | service.name.toLowerCase().search(this.state.search.toLowerCase()) !== |
139 | -1, | 139 | -1, |
140 | ); | 140 | ); |
141 | } else { | 141 | } else if (this.props.stores.services.allDisplayed.length > 0) { |
142 | // Add the currently active service first | 142 | // Add the currently active service first |
143 | const currentService = this.props.stores.services.active; | 143 | const currentService = this.props.stores.services.active; |
144 | if (currentService) { | 144 | if (currentService) { |