Settings editor filterByTag - focus search input and add a space after tag

This commit is contained in:
Rob Lourens
2018-07-27 09:18:42 -07:00
parent 41c9a6ac8e
commit f1756b427f

View File

@@ -182,7 +182,8 @@ export class SettingsEditor2 extends BaseEditor {
filterByTag(tag: string): void {
if (this.searchWidget) {
this.searchWidget.setValue(`@tag:${tag}`);
this.searchWidget.focus();
this.searchWidget.setValue(`@tag:${tag} `);
}
}