]> git.proxmox.com Git - flutter/proxmox_dart_api_client.git/commitdiff
fix displayName for guests
authorTim Marx <t.marx@proxmox.com>
Thu, 23 Apr 2020 16:46:01 +0000 (18:46 +0200)
committerTim Marx <t.marx@proxmox.com>
Thu, 23 Apr 2020 16:46:01 +0000 (18:46 +0200)
Signed-off-by: Tim Marx <t.marx@proxmox.com>
lib/src/models/pve_cluster_resources_model.dart

index d67d07502a4e7a7c4c7354507b42ecbf9aec5260..53e17626d011b6a8f67224357cda46b5b8e876f0 100644 (file)
@@ -58,9 +58,9 @@ abstract class PveClusterResourcesModel
       case "node":
         return node;
       case "qemu":
-        return "$vmid $name";
+        return "$vmid ${name ?? ''}";
       case "lxc":
-        return "$vmid $name";
+        return "$vmid ${name ?? ''}";
       case "storage":
         return storage;
       case "pool":