Skip to content

Commit 54c3766

Browse files
committed
JBDS-4494 Hide Virtualbox on confirmation page when hyper-v is detected
1 parent 00c5283 commit 54c3766

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

browser/model/virtualbox.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ class VirtualBoxInstall extends InstallableItem {
5454
isDisabled() {
5555
return this.hasOption('detected') || this.references > 0;
5656
}
57+
58+
get hidden() {
59+
let hv = this.installerDataSvc.getInstallable('hyperv');
60+
return hv && hv.isDetected();
61+
}
5762
}
5863

5964
class VirtualBoxInstallWindows extends VirtualBoxInstall {

0 commit comments

Comments
 (0)