fix(backup-details): re-fetch when selected snapshot is changed
This commit is contained in:
parent
ef27ab8ed8
commit
ecd517341c
1 changed files with 5 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue