mirror of
https://github.com/immich-app/immich.git
synced 2025-01-12 15:32:36 +02:00
fix: update like status (#4803)
This commit is contained in:
parent
d5f8199655
commit
2b9f20a1b5
@ -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…
Reference in New Issue
Block a user