]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Parser.js
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:01:49 +0000 (21:01 +0200)
commit308d9f365c2cc29d4b49ee649f20b02098fdf9c1
treeb0287a3a9aafd9929402e7b5b7bb4a5a801b62af
parent3f7d054ee1077172e670257289870025de212e4c
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