mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 15:29:02 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
|
||||
import {ApiService} from "../api.service";
|
||||
import {Project} from "../models/project";
|
||||
import {ApiService} from '../api.service';
|
||||
import {Project} from '../models/project';
|
||||
|
||||
@Component({
|
||||
selector: 'project-select',
|
||||
@@ -22,7 +22,7 @@ export class ProjectSelectComponent implements OnInit {
|
||||
|
||||
loadProjectList() {
|
||||
this.apiService.getProjects().subscribe(data => {
|
||||
this.projectList = data["content"]["projects"]
|
||||
})
|
||||
this.projectList = data['content']['projects'];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user