Stackdriver: Fix weird assignment
This commit is contained in:
1 parent
2d52e5d26c
commit
95a6838f06
1 file changed
+1
-1
@@ -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');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user