Browse Source

Removes `Searching` and `?` prefix while searching

main
Eric Amodio 5 years ago
parent
commit
3780b3956e
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/views/nodes/compareResultsNode.ts
  2. +1
    -1
      src/views/nodes/resultsFilesNode.ts
  3. +1
    -1
      src/views/searchView.ts

+ 1
- 1
src/views/nodes/compareResultsNode.ts View File

@ -47,7 +47,7 @@ export class CompareResultsNode extends SubscribeableViewNode {
this.view, this.view,
this, this,
this.uri.repoPath!, this.uri.repoPath!,
'? commits',
'commits',
this.getCommitsQuery.bind(this), this.getCommitsQuery.bind(this),
true, true,
false false

+ 1
- 1
src/views/nodes/resultsFilesNode.ts View File

@ -70,7 +70,7 @@ export class ResultsFilesNode extends ViewNode {
if (this._querying) { if (this._querying) {
// Need to use Collapsed before we have results or the item won't show up in the view until the children are awaited // Need to use Collapsed before we have results or the item won't show up in the view until the children are awaited
state = TreeItemCollapsibleState.Collapsed; state = TreeItemCollapsibleState.Collapsed;
label = '? files changed';
label = 'files changed';
this.getFilesQueryResults().then(_ => { this.getFilesQueryResults().then(_ => {
this._querying = false; this._querying = false;

+ 1
- 1
src/views/searchView.ts View File

@ -124,7 +124,7 @@ export class SearchView extends ViewBase {
repoPath, repoPath,
search, search,
searchBy, searchBy,
`Searching for ${typeof options.label === 'string' ? options.label : options.label.label}`,
`results for ${typeof options.label === 'string' ? options.label : options.label.label}`,
searchQueryFn, searchQueryFn,
true true
) )

Loading…
Cancel
Save