mirror of
https://github.com/immich-app/immich.git
synced 2025-02-04 01:09:14 -05: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
Reference in a new issue