implemented hooks for user-collections & user-collection-entry models to update updatedAt and order fields
This commit is contained in:
1 parent
36866dabe6
commit
cea1b207a3
12 files changed
+170
-61
No files matched your search
+1
-5
@@ -124,11 +124,7 @@ export class UserCollectionsModalComponent implements OnInit {
|
||||
`Adding Entry ${this.entryId} to list: ${userCollection.name}`
|
||||
);
|
||||
this.listService
|
||||
.addEntryToCollection(
|
||||
userCollection.id,
|
||||
this.entryId,
|
||||
userCollection.userCollectionEntries.length + 1
|
||||
)
|
||||
.addEntryToCollection(userCollection.id, this.entryId)
|
||||
.subscribe({
|
||||
next: (response) => {
|
||||
console.log('Successfuly added Entry To Collection:', response);
|
||||
|
||||
Reference in new issue
Block a user