]> git.proxmox.com Git - pve-manager.git/commit
ui: join info: code cleanup and future proof
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 Nov 2021 19:57:37 +0000 (20:57 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 7 Nov 2021 19:57:39 +0000 (20:57 +0100)
commit6152988ea6462c5105cb02db82658406cdc12344
tree221c148986257da3a43211b707d682a16a9dbcd1
parent9ab0c06954cd994ff6813a4020a500ce7db84c85
ui: join info: code cleanup and future proof

we may want to return null or an empty object for the join info on a
node without a cluster in the future (i.e., PVE 8.0+), so get
compatible for that now already as it costs not much and as we can
now use es2020 we even can write the object access nicer..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Cluster.js