added translation
This commit is contained in:
@@ -5,11 +5,13 @@ import { MatCardModule } from '@angular/material/card';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { ApiService } from '../../services';
|
||||
import { Project } from '../../models';
|
||||
import { LanguageService } from '../../services/language.service';
|
||||
import { TranslatePipe } from '../../pipes/translate.pipe';
|
||||
|
||||
@Component({
|
||||
selector: 'app-projects-dashboard',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatCardModule, MatProgressSpinnerModule],
|
||||
imports: [CommonModule, MatCardModule, MatProgressSpinnerModule, TranslatePipe],
|
||||
templateUrl: './projects-dashboard.component.html',
|
||||
styleUrls: ['./projects-dashboard.component.scss']
|
||||
})
|
||||
@@ -21,7 +23,8 @@ export class ProjectsDashboardComponent implements OnInit {
|
||||
|
||||
constructor(
|
||||
private apiService: ApiService,
|
||||
private router: Router
|
||||
private router: Router,
|
||||
public lang: LanguageService
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user