mirror of
https://github.com/immich-app/immich.git
synced 2025-12-09 15:03:54 +09:00
fix: update like status (#4803)
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user