mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: update like status (#4803)
This commit is contained in:
parent
d5f8199655
commit
2b9f20a1b5
1 changed files with 2 additions and 0 deletions
|
|
@ -142,6 +142,8 @@
|
||||||
});
|
});
|
||||||
if (data.length > 0) {
|
if (data.length > 0) {
|
||||||
isLiked = data[0];
|
isLiked = data[0];
|
||||||
|
} else {
|
||||||
|
isLiked = null;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
handleError(error, "Can't get Favorite");
|
handleError(error, "Can't get Favorite");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue