chore(xo-web): use vm.convertToTemplate instead of alias vm.convert

This commit is contained in:
Julien Fontanet 2022-08-11 11:22:33 +02:00
parent f839887da8
commit 97fa23f890
2 changed files with 2 additions and 2 deletions

View File

@ -1355,7 +1355,7 @@ export const convertVmToTemplate = vm =>
<p>This operation is definitive.</p>
</div>
),
}).then(() => _call('vm.convert', { id: resolveId(vm) }), noop)
}).then(() => _call('vm.convertToTemplate', { id: resolveId(vm) }), noop)
export const copyToTemplate = async vm => {
await confirm({

View File

@ -176,7 +176,7 @@ export default class Jobs extends Component {
'job.runSequence',
'vm.attachDisk',
'vm.clone',
'vm.convert',
'vm.convertToTemplate',
'vm.copy',
'vm.createInterface',
'vm.delete',