Browse Source

try to fix the detailed view

andre 4 years ago
parent
commit
22d62f41c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/UI/VmUpdate/Providers/VmUpdateProvider.php

+ 1 - 1
app/UI/VmUpdate/Providers/VmUpdateProvider.php

@@ -52,7 +52,7 @@ class VmUpdateProvider extends VmCreateProvider
         $this->data =  $this->vmModel->toArray();
         $this->data =  $this->vmModel->toArray();
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
         $config = $vm->config();
         $config = $vm->config();
-        $this->data['ciuser'] =  $this->vmModel->getCiuser();
+        $this->data['name'] =  $this->vmModel->getName();
         $this->data['password'] = $this->vmModel->getPassword();
         $this->data['password'] = $this->vmModel->getPassword();
         $this->data['description'] = html_entity_decode($config['description']);
         $this->data['description'] = html_entity_decode($config['description']);
         $this->data['searchdomain'] = $config['searchdomain'];
         $this->data['searchdomain'] = $config['searchdomain'];