]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - Utils.js
format task description: avoid printing undefined ID
[proxmox-widget-toolkit.git] / Utils.js
index 8548711683c7232b50b8474ef7f7085290eb1beb..0b2d1d43432ea95d94dcba3315daf2e806da1f2c 100644 (file)
--- a/Utils.js
+++ b/Utils.js
@@ -646,7 +646,7 @@ Ext.define('Proxmox.Utils', { utilities: {
        }
        let prefix = farray[0];
        text = farray[1];
-       if (prefix) {
+       if (prefix && id !== undefined) {
            return prefix + ' ' + id + ' - ' + text;
        }
        return text;