]> git.proxmox.com Git - pve-manager.git/commit
ui: guest import: fix isWindows check
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 19 Mar 2024 13:00:29 +0000 (14:00 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 Mar 2024 17:16:00 +0000 (18:16 +0100)
commitffa2f7b4a71dd52c76689d025ed90630c25be74c
tree3ed96dcf5535a52bb6386c7bce26fbcf6e531bfa
parentda266fdc51ee8968edc10f9ed072ab757abd7c6b
ui: guest import: fix isWindows check

while most of our 'windiows' ostypes start with 'win' not all of them do
(wxp, wvista), so just shorten the condition to 'starts with `w`', this
covers all our windows ostypes, while not including others.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/GuestImport.js