diff --git a/app/client/components/restore-form.tsx b/app/client/components/restore-form.tsx index 67b72935..3c900a46 100644 --- a/app/client/components/restore-form.tsx +++ b/app/client/components/restore-form.tsx @@ -78,7 +78,7 @@ export function RestoreForm({ snapshot, repository, snapshotId, returnPath }: Re return await queryClient.ensureQueryData( listSnapshotFilesOptions({ path: { id: repository.id, snapshotId }, - query: { path, offset, limit: 500 }, + query: { path, offset: offset.toString(), limit: "500" }, }), ); }, @@ -86,7 +86,7 @@ export function RestoreForm({ snapshot, repository, snapshotId, returnPath }: Re void queryClient.prefetchQuery( listSnapshotFilesOptions({ path: { id: repository.id, snapshotId }, - query: { path, offset: 0, limit: 500 }, + query: { path, offset: "0", limit: "500" }, }), ); }, diff --git a/app/client/components/volume-file-browser.tsx b/app/client/components/volume-file-browser.tsx index a5c6dd32..3ed3a156 100644 --- a/app/client/components/volume-file-browser.tsx +++ b/app/client/components/volume-file-browser.tsx @@ -42,7 +42,7 @@ export const VolumeFileBrowser = ({ return await queryClient.ensureQueryData( listFilesOptions({ path: { id: volumeId }, - query: { path, offset }, + query: { path, offset: offset?.toString() }, }), ); }, diff --git a/app/client/modules/backups/components/create-schedule-form.tsx b/app/client/modules/backups/components/create-schedule-form.tsx index 17b1f0f0..718061f8 100644 --- a/app/client/modules/backups/components/create-schedule-form.tsx +++ b/app/client/modules/backups/components/create-schedule-form.tsx @@ -671,14 +671,20 @@ export const CreateScheduleForm = ({ initialValues, formId, onSubmit, volume }:
Include paths/patterns