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

@@ -35,8 +35,6 @@
person.updatedAt = Date.now().toString();
}
});
// trigger reactivity
people = people;
});
});
</script>

View File

@@ -74,9 +74,6 @@
person.updatedAt = new Date().toISOString();
}
}
// trigger reactivity
people = people;
});
});
@@ -146,9 +143,6 @@
message: $t('change_name_successfully'),
type: NotificationType.Info,
});
// trigger reactivity
people = people;
} catch (error) {
handleError(error, $t('errors.unable_to_save_name'));
}

View File

@@ -156,8 +156,6 @@
searchResultAlbums.push(...albums.items);
searchResultAssets.push(...assets.items);
searchResultAlbums = searchResultAlbums;
searchResultAssets = searchResultAssets;
nextPage = assets.nextPage ? Number(assets.nextPage) : null;
} catch (error) {