fix(backup-details): re-fetch when selected snapshot is changed

This commit is contained in:
Nicolas Meienberger
2025-11-04 18:41:16 +01:00
parent ef27ab8ed8
commit ecd517341c

View File

@@ -184,7 +184,11 @@ export default function ScheduleDetailsPage({ params, loaderData }: Route.Compon
snapshotId={selectedSnapshot.short_id} snapshotId={selectedSnapshot.short_id}
onSnapshotSelect={setSelectedSnapshotId} onSnapshotSelect={setSelectedSnapshotId}
/> />
<SnapshotFileBrowser snapshot={selectedSnapshot} repositoryName={schedule.repository.name} /> <SnapshotFileBrowser
key={selectedSnapshot.short_id}
snapshot={selectedSnapshot}
repositoryName={schedule.repository.name}
/>
</> </>
)} )}
</div> </div>