Compare commits
No commits in common. "4f505507be141d0401d4c4b94d16dc4197217109" and "93b82aedbab9b56b720d1688da0fa8f5ecb454e3" have entirely different histories.
4f505507be
...
93b82aedba
3 changed files with 3 additions and 7 deletions
|
|
@ -1,9 +1,8 @@
|
|||
export interface Show {
|
||||
_id: string
|
||||
title: string
|
||||
date: Date
|
||||
year: number
|
||||
seasons: number
|
||||
episodes: number
|
||||
description: string
|
||||
genres: string[]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<!-- <img src="">-->
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ show.title }}</h5>
|
||||
<p class="card-text">{{ show.date | date }}</p>
|
||||
<p class="card-text">{{ show.year }}</p>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,13 +6,10 @@ import {Toast} from '../../interfaces/toast';
|
|||
import {ToastService} from '../../services/toast/toast.service';
|
||||
import {NgbModal} from '@ng-bootstrap/ng-bootstrap';
|
||||
import {CreateModalComponent} from '../../components/create-modal/create-modal/create-modal.component';
|
||||
import {DatePipe} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-shows',
|
||||
imports: [
|
||||
DatePipe
|
||||
],
|
||||
imports: [],
|
||||
templateUrl: './shows.component.html',
|
||||
styleUrl: './shows.component.css'
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue