提交 3833a3de 编写于 作者: R Rob Lourens

Settings editor - don't run search on '@'

上级 e7871ead
......@@ -659,8 +659,9 @@ export class SettingsEditor2 extends BaseEditor {
return '';
});
}
query = query.trim();
if (query) {
if (query && query !== '@') {
return this.searchInProgress = TPromise.join([
this.localSearchDelayer.trigger(() => this.localFilterPreferences(query)),
this.remoteSearchThrottle.trigger(() => this.remoteSearchPreferences(query), 500)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册