Front: renamed most collection related files
This commit is contained in:
1 parent
75de013f82
commit
8724a96b81
55 files changed
+294
-394
No files matched your search
@@ -18,11 +18,11 @@ import { EpisodeSeenService } from '../../../core/services/episode-seen.service'
|
||||
import { SeasonService } from '../../../core/services/season.service';
|
||||
import { LibraryService } from '../../../core/services/library.service';
|
||||
import { ToastrService } from 'ngx-toastr';
|
||||
import { EntrySeen } from '../../../shared/models/entrySeen.model';
|
||||
import { EntrySeen } from '../../../shared/models/entry-seen.model';
|
||||
import { EpisodeSeenModalComponent } from '../../../shared/components/modals/episode-seen-modal/episode-seen-modal.component';
|
||||
import { MediaModalComponent } from '../media-modal/media-modal.component';
|
||||
import { environment } from '../../../../environments/environment.prod';
|
||||
import { UserCollection } from '../../../shared/models/userCollection.model';
|
||||
import { Collection } from '../../../shared/models/collection.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-entry-page',
|
||||
@@ -325,7 +325,7 @@ export class EntryPageComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
getCollectionBackdropPath(collection: UserCollection) {
|
||||
getCollectionBackdropPath(collection: Collection) {
|
||||
console.log(`collection media:`, collection.medias);
|
||||
if (collection.medias && collection.medias.length != 0) {
|
||||
const backdrops = collection.medias.filter((m) => m.type == 'backdrop');
|
||||
|
||||
Reference in new issue
Block a user