code refactoring
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { BaseComponent } from '../base/base.component';
|
||||
import { CvService } from '../services/cv.service';
|
||||
import { IProjects } from './projects.model';
|
||||
import { IProject } from '../models/project.model';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { ICv } from '../models/cv.model';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
@@ -22,10 +21,6 @@ categoryClicked: boolean = false;
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
// this.subscription = this.svc.baseSubject.subscribe((resume: ICv | unknown) =>{
|
||||
// this.projects = this.model.projects;
|
||||
// });
|
||||
// this.init();
|
||||
this.getProjects();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user