refactor(web): rename loadMonthGroup to loadSegment API

This commit is contained in:
midzelis
2025-09-18 14:38:09 +00:00
parent c37d13691b
commit aa559f0b30
6 changed files with 38 additions and 34 deletions
@@ -670,7 +670,7 @@
break;
}
if (started) {
await timelineManager.loadMonthGroup(monthGroup.yearMonth);
await timelineManager.loadSegment(monthGroup.yearMonth);
for (const asset of monthGroup.assetsIterator()) {
if (deselect) {
assetInteraction.removeAssetFromMultiselectGroup(asset.id);
@@ -811,7 +811,7 @@
$effect(() => {
if ($showAssetViewer) {
const { localDateTime } = getTimes($viewingAsset.fileCreatedAt, DateTime.local().offset / 60);
void timelineManager.loadMonthGroup({ year: localDateTime.year, month: localDateTime.month });
void timelineManager.loadSegment({ year: localDateTime.year, month: localDateTime.month });
}
});
</script>