mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix: volume data not refreshing when changing selection
This commit is contained in:
@@ -312,6 +312,7 @@ export const CreateScheduleForm = ({ initialValues, formId, onSubmit, volume }:
|
|||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<VolumeFileBrowser
|
<VolumeFileBrowser
|
||||||
|
key={volume.id}
|
||||||
volumeName={volume.name}
|
volumeName={volume.name}
|
||||||
selectedPaths={selectedPaths}
|
selectedPaths={selectedPaths}
|
||||||
onSelectionChange={handleSelectionChange}
|
onSelectionChange={handleSelectionChange}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export default function Backups({ loaderData }: Route.ComponentProps) {
|
|||||||
isInProgress={schedule.lastBackupStatus === "in_progress"}
|
isInProgress={schedule.lastBackupStatus === "in_progress"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<CardDescription className="ml-0.5 flex items-center gap-2 mt-2 text-xs">
|
<CardDescription className="ml-0.5 flex items-center gap-2 text-xs">
|
||||||
<HardDrive className="h-3.5 w-3.5" />
|
<HardDrive className="h-3.5 w-3.5" />
|
||||||
<span className="truncate">{schedule.volume.name}</span>
|
<span className="truncate">{schedule.volume.name}</span>
|
||||||
<span className="text-muted-foreground">→</span>
|
<span className="text-muted-foreground">→</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user