delete
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div class="row mt-3"><h1>TV-Serien</h1></div>
|
||||
<div class="row mt-1">
|
||||
<div class="col-md-7 mb-3">
|
||||
<app-show-list [shows]="shows"></app-show-list>
|
||||
<app-show-list></app-show-list>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
</div>
|
||||
|
@ -1,7 +1,5 @@
|
||||
import {Component, inject} from '@angular/core';
|
||||
import {Component} from '@angular/core';
|
||||
import {ShowListComponent} from '../show-list/show-list.component';
|
||||
import {Show} from '../../model/show';
|
||||
import {ShowService} from '../../services/show.service';
|
||||
import {ShowFormComponent} from '../show-form/show-form.component';
|
||||
|
||||
@Component({
|
||||
@ -15,10 +13,4 @@ import {ShowFormComponent} from '../show-form/show-form.component';
|
||||
styleUrl: './main-view.component.css'
|
||||
})
|
||||
export class MainViewComponent {
|
||||
private dataService: ShowService = inject(ShowService);
|
||||
public shows: Show[] = [];
|
||||
|
||||
constructor() {
|
||||
this.shows = this.dataService.getShows();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user