Browse Source

try to reenable vmcreate after delete action

andre 4 years ago
parent
commit
b3a29ab847
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/UI/Vms/Buttons/DeleteButton.php

+ 2 - 0
app/UI/Vms/Buttons/DeleteButton.php

@@ -35,6 +35,8 @@ class DeleteButton extends ButtonDataTableModalAction implements ClientArea
         }
         $this->switchToRemoveBtn();
         $this->initLoadModalAction(new DeleteModal());
+        sl("sidebar")->getSidebar("virtualMachinesProxmoxCloudVps")->addChild("vmcreate");
+        
     }
 
 }