Skip to content

Commit

Permalink
fixes backup list
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jul 5, 2024
1 parent 8336548 commit 1da1cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/tenant/backup/RestoreBackup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const OffboardingWizard = () => {
isFetching: currentBackupsIsFetching,
error: currentBackupsError,
} = useGenericGetRequestQuery({
path: `/api/ExecListBackup?TenantFilter=${tenantDomain}`,
path: `/api/ExecListBackup?TenantFilter=${tenantDomain}&Type=Scheduled`,
})

const [genericPostRequest, postResults] = useLazyGenericPostRequestQuery()
Expand Down Expand Up @@ -98,7 +98,7 @@ const OffboardingWizard = () => {
label={'Backups for ' + tenantDomain}
values={currentBackups?.map((backup) => ({
value: backup.RowKey,
name: `${backup.BackupDate}`,
name: `${backup.RowKey}`,
}))}
placeholder={!currentBackupsIsFetching ? 'Select a backup' : 'Loading...'}
name="User"
Expand Down

0 comments on commit 1da1cff

Please sign in to comment.