|
@@ -154,6 +154,9 @@ class ClientAreaSidebarService
|
|
|
* @var VmModel $vmModel
|
|
* @var VmModel $vmModel
|
|
|
*/
|
|
*/
|
|
|
foreach (VmModel::ofHostingId( $this->getHostingId())->notVmid(0)->notTemplate()->get() as $vmModel){
|
|
foreach (VmModel::ofHostingId( $this->getHostingId())->notVmid(0)->notTemplate()->get() as $vmModel){
|
|
|
|
|
+ if($sidebar->getName()=='Virtual Datacenter'){
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
$childOrder++;
|
|
$childOrder++;
|
|
|
$newItem = [
|
|
$newItem = [
|
|
|
'label' => $vmModel->name,
|
|
'label' => $vmModel->name,
|
|
@@ -167,4 +170,4 @@ class ClientAreaSidebarService
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
+}
|