Stackdriver: Fix weird assignment

This commit is contained in:
Erik Sundell 2018-09-10 19:16:19 +02:00 committed by Daniel Lee
parent 2d52e5d26c
commit 95a6838f06

View File

@ -32,7 +32,7 @@ export class StackdriverQueryCtrl extends QueryCtrl {
try {
const projects = await this.datasource.getProjects();
if (projects && projects.length > 0) {
this.target.project = this.target.project = projects[0];
this.target.project = projects[0];
} else {
throw new Error('No projects found');
}