From 00b1d9757822d9b4342b7f5dd41ac7611b9ea2c3 Mon Sep 17 00:00:00 2001 From: kytwb Date: Tue, 14 Dec 2021 21:31:18 +0100 Subject: Fix Quick Switch showing service from different workspace --- src/features/quickSwitch/Component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { service.name.toLowerCase().search(this.state.search.toLowerCase()) !== -1, ); - } else { + } else if (this.props.stores.services.allDisplayed.length > 0) { // Add the currently active service first const currentService = this.props.stores.services.active; if (currentService) { -- cgit v1.2.3-70-g09d2