mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix(backup-details): re-fetch when selected snapshot is changed
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user