We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f4388 commit 5ea9177Copy full SHA for 5ea9177
src/experimental/Search/SearchController.ts
@@ -530,7 +530,7 @@ export class SearchController<
530
deactivateSource = (sourceType: Sources[number]['type']) => {
531
const source = this.getSource(sourceType);
532
if (!source?.isActive) return;
533
- if (this.activeSources.length === 1 && this.config.keepSingleActiveSource) return;
+ if (this.activeSources.length === 1) return;
534
source.deactivate();
535
this.state.partialNext({ sources: [...this.sources] as Sources });
536
};
0 commit comments