fix: kachel spacing & /admin
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { MaterialModule } from '../../material.module';
|
||||
import { ApiService } from '../../services/api';
|
||||
import { Api } from '../../services/api';
|
||||
import { Item } from '../../models/item';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
@@ -16,7 +16,7 @@ export class HomeComponent implements OnInit {
|
||||
items$!: Observable<Item[]>;
|
||||
imgErrorMap = new Map<number, boolean>();
|
||||
|
||||
constructor(private apiService: ApiService) {}
|
||||
constructor(private apiService: Api) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.items$ = this.apiService.getItems();
|
||||
|
||||
Reference in New Issue
Block a user