Skip to content

Commit

Permalink
Fix favorite chooser (#5)
Browse files Browse the repository at this point in the history
* Fix favorite chooser cannot delete favorite status.

* bump version to 4.3.2 and update CHANGELOG.md

Co-authored-by: lordfriend <[email protected]>
  • Loading branch information
EverettSummer and lordfriend authored May 13, 2022
1 parent 02d4ac9 commit 63b2275
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 4.3.2

Fix favorite chooser cannot delete favorite status.

## 4.3.1

Fix a bug in 4.3.0

## 4.3.0

Allow input extension id for user unblock the chrome user from using the Sadr extension without web store

## 4.2.0

Add support for video process rules, this change need mira-video-manager to be deployed and Albireo >= 4.0.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Deneb",
"version": "4.3.1",
"version": "4.3.2",
"description": "Web client for Albireo",
"author": "Nyasoft<[email protected]>",
"homepage": "https://github.com/irohalab/Deneb",
Expand Down
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 63b2275

Please sign in to comment.