fix: volume data not refreshing when changing selection

This commit is contained in:
Nicolas Meienberger
2025-12-04 18:54:02 +01:00
parent 0f7bd1e042
commit 321dc4cdf7
2 changed files with 2 additions and 1 deletions

View File

@@ -312,6 +312,7 @@ export const CreateScheduleForm = ({ initialValues, formId, onSubmit, volume }:
</CardHeader>
<CardContent>
<VolumeFileBrowser
key={volume.id}
volumeName={volume.name}
selectedPaths={selectedPaths}
onSelectionChange={handleSelectionChange}

View File

@@ -79,7 +79,7 @@ export default function Backups({ loaderData }: Route.ComponentProps) {
isInProgress={schedule.lastBackupStatus === "in_progress"}
/>
</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" />
<span className="truncate">{schedule.volume.name}</span>
<span className="text-muted-foreground"></span>