]> git.proxmox.com Git - pve-manager.git/commit
ui: Parser: fix bind and dev mounts for lxc
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 20 May 2021 14:59:14 +0000 (16:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 May 2021 19:00:37 +0000 (21:00 +0200)
commitca2e1752d39d1a4274baec6d62b94705fd7b4cdd
tree8ff4493e8d147a1f372c9716c5fe1f946dc5bd75
parent1d2413c0ff61f349d6d9eb2153a59c7cb3371336
ui: Parser: fix bind and dev mounts for lxc

match returns 'null' if the regex does not match, which is not
destructurable. so we have to save the match and check if it valid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Parser.js