MOBILE-3371 search: Fix disabled feature

main
Noel De Martin 2023-10-05 16:41:37 +02:00
parent c070ba5e42
commit 9b04cda897
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export class CoreSearchGlobalSearchService {
? await CoreSites.getSite(siteId)
: CoreSites.getRequiredCurrentSite();
return !site?.isFeatureDisabled('CoreNoDelegate_GlobalSearch')
return !site?.isFeatureDisabled('NoDelegate_GlobalSearch')
&& site?.wsAvailable('core_search_get_results') // @since 4.3
&& site?.canUseAdvancedFeature('enableglobalsearch');
}