1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-27 05:11:11 +02:00

refactor(web): remove reactivity triggers (#14164)

This commit is contained in:
Michel Heusschen
2024-11-15 23:28:28 +01:00
committed by GitHub
parent caf6c0996d
commit 64a7baec8c
13 changed files with 3 additions and 33 deletions

View File

@ -110,7 +110,6 @@
try {
await deleteActivity({ id: reaction.id });
reactions.splice(index, 1);
reactions = reactions;
if (isLiked && reaction.type === ReactionType.Like && reaction.id == isLiked.id) {
onDeleteLike();
} else {
@ -143,8 +142,6 @@
message = '';
onAddComment();
// Re-render the activity feed
reactions = reactions;
} catch (error) {
handleError(error, $t('errors.unable_to_add_comment'));
} finally {