Fix app name in Report Issue dialog (#1292)

This commit is contained in:
Karl Burtram
2018-04-29 13:19:09 -07:00
committed by GitHub
parent eece0677a7
commit db5156e4cd
3 changed files with 10 additions and 7 deletions

View File

@@ -462,11 +462,12 @@ export class IssueReporter extends Disposable {
response.json().then(result => {
this.clearSearchResults();
if (result && result.candidates) {
this.displaySearchResults(result.candidates);
} else {
throw new Error('Unexpected response, no candidates property');
}
// {{SQL CARBON EDIT}}
// if (result && result.candidates) {
// this.displaySearchResults(result.candidates);
// } else {
// throw new Error('Unexpected response, no candidates property');
// }
}).catch((error) => {
this.logSearchError(error);
});