Commit 95a6838f by Erik Sundell Committed by Daniel Lee

Stackdriver: Fix weird assignment

parent 2d52e5d2
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment