fix(xo-web/new-vm): respect fast clone setting

Fixes zammad#21432
Introduced by 0d4733252
Revealed by 302f7fb85
This commit is contained in:
Julien Fontanet 2024-02-19 13:38:22 +01:00 committed by Pierre Donias
parent 192326201f
commit 1c43c9e258
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
- [Remotes] Correctly clear error when the remote is tested with success
- [Import/VMWare] Fix importing last snapshot (PR [#7370](https://github.com/vatesfr/xen-orchestra/pull/7370))
- [Host/Reboot] Fix false positive warning when restarting an host after updates (PR [#7366](https://github.com/vatesfr/xen-orchestra/pull/7366))
- [New/VM] Respect _Fast clone_ setting broken since 5.91.0 (PR [#7388](https://github.com/vatesfr/xen-orchestra/issues/7388))
### Packages to release

View File

@ -470,7 +470,7 @@ export default class NewVm extends BaseComponent {
const data = {
affinityHost: state.affinityHost && state.affinityHost.id,
clone: !this._isDiskTemplate && state.fastClone,
clone: this._isDiskTemplate && state.fastClone,
existingDisks: state.existingDisks,
installation,
name_label: state.name_label,