diff --git a/frontend/src/app/features/entry/entry-page/entry-page.component.ts b/frontend/src/app/features/entry/entry-page/entry-page.component.ts index 632b38d..91782e9 100644 --- a/frontend/src/app/features/entry/entry-page/entry-page.component.ts +++ b/frontend/src/app/features/entry/entry-page/entry-page.component.ts @@ -284,7 +284,7 @@ export class EntryPageComponent implements OnInit { this.entryService.updateEntry(this.entry.id, entryData).subscribe({ next: (entry) => { // console.log(`Entry updated: `, entry); - this.entry = entry; + this.entry.favorit = entry.favorit; this.entry.isInLibrary = true; this.libraryService.setEntry(this.entry); }, @@ -306,8 +306,7 @@ export class EntryPageComponent implements OnInit { this.entryService.updateEntry(this.entry.id, entryData).subscribe({ next: (entry) => { - // console.log(`Entry updated: `, entry); - this.entry = entry; + this.entry.hidden = entry.hidden; this.entry.isInLibrary = true; this.libraryService.setEntry(this.entry); }, diff --git a/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.css b/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.css index 6fc1bac..f494f09 100644 --- a/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.css +++ b/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.css @@ -157,7 +157,6 @@ align-items: center; gap: 2rem; padding: 1rem; - background: rgba(0, 0, 0, 0.1); border-radius: 8px; } diff --git a/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.html b/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.html index 183659c..e63a6fd 100644 --- a/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.html +++ b/frontend/src/app/features/entry/episode-dialog/episode-dialog.component.html @@ -8,7 +8,7 @@