diff options
author | kytwb <kytwb@pm.me> | 2021-12-14 21:31:18 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-14 21:31:18 +0100 |
commit | 00b1d9757822d9b4342b7f5dd41ac7611b9ea2c3 (patch) | |
tree | 32ad2bc91d344f2050b39d792671685a790d1f39 /src/features | |
parent | Update default locale, trigger Crowdin update (diff) | |
download | ferdium-app-00b1d9757822d9b4342b7f5dd41ac7611b9ea2c3.tar.gz ferdium-app-00b1d9757822d9b4342b7f5dd41ac7611b9ea2c3.tar.zst ferdium-app-00b1d9757822d9b4342b7f5dd41ac7611b9ea2c3.zip |
Fix Quick Switch showing service from different workspace
Diffstat (limited to 'src/features')
-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) { |