implemented UserCollectionEntry order update on the backend
This commit is contained in:
1 parent
537763ff7d
commit
1b21d84d0b
5 files changed
+49
-36
No files matched your search
+1
-1
@@ -25,7 +25,7 @@
|
||||
<!-- <a [href]="getTmdbLink()" target="_blank" rel="noopener noreferrer">
|
||||
<h3 class="card-title">{{ entry.title }}</h3>
|
||||
</a> -->
|
||||
<a (click)="cardClick()" rel="noopener noreferrer">
|
||||
<a>
|
||||
<h3 class="card-title">{{ entry.title }}</h3>
|
||||
</a>
|
||||
<div class="card-info">
|
||||
|
||||
+2
-2
@@ -27,7 +27,7 @@ export class UserCollectionGridCardComponent {
|
||||
|
||||
constructor(
|
||||
private libraryService: LibraryService,
|
||||
private listService: UserCollectionService,
|
||||
private userCollectionService: UserCollectionService,
|
||||
public dialog: MatDialog,
|
||||
private router: Router
|
||||
) {}
|
||||
@@ -81,7 +81,7 @@ export class UserCollectionGridCardComponent {
|
||||
|
||||
removeEntryFromList() {
|
||||
// TODO: add confirm modal
|
||||
this.listService
|
||||
this.userCollectionService
|
||||
.removeEntryFromCollection(this.listId, this.entry.id)
|
||||
.subscribe({
|
||||
next: (response) => {
|
||||
|
||||
Reference in new issue
Block a user