fix(xo-web/file-restore): ignore proxy remotes (#5171)
See xoa-support#2741
This commit is contained in:
@@ -110,7 +110,10 @@ export default class Restore extends Component {
|
||||
_remotes = this.props.remotes,
|
||||
jobs = this.props.jobs
|
||||
) => {
|
||||
const remotes = keyBy(filter(_remotes, { enabled: true }), 'id')
|
||||
const remotes = keyBy(
|
||||
filter(_remotes, ({ enabled, proxy }) => enabled && proxy === undefined),
|
||||
'id'
|
||||
)
|
||||
const backupsByRemote = await listVmBackups(toArray(remotes))
|
||||
|
||||
const backupDataByVm = {}
|
||||
|
||||
Reference in New Issue
Block a user