Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Fix favorite chooser cannot delete favorite status. (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfriend authored May 13, 2022
1 parent d22beaf commit 8394830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/home/favorite-manager.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class FavoriteManagerService extends BaseService {
manuallyDeleteFavorite(bangumi: Bangumi): Observable<any> {
return this.canSync().pipe(
switchMap(result => {
if (result.canSync) {
if (!result.canSync) {
return this._watchService.delete_favorite(bangumi.id);
} else {
return this._synchronizeService.deleteFavorite(bangumi);
Expand Down

0 comments on commit 8394830

Please sign in to comment.