]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/grid/FirewallRules.js
ui: firewall grid: fix rendering comment, only show tooltip when truncated
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Feb 2021 13:28:35 +0000 (14:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Feb 2021 13:28:38 +0000 (14:28 +0100)
commit2d1ed7d3cca2cb45280fe6446b41aa62a20329fb
tree158b41a40ca378e3eb6dc9e5e323b043522c39d4
parent1290a65d907e52765f0badbab71078a79d2b3707
ui: firewall grid: fix rendering comment, only show tooltip when truncated

avoid showing "undefined" if there's no comment, renderer must not
return null or undefined directly, it will converted to string as is,
so always fallback to '' empty string

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