]> git.proxmox.com Git - proxmox-backup.git/commit
ui: fix opening settings window in datastore panel
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 2 Dec 2021 14:26:31 +0000 (15:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 Dec 2021 14:56:59 +0000 (15:56 +0100)
commitdfe5c4c494b3a1d6fceca6f840506a3b67114fe5
tree477da6b6c188b4af1f276ebcc6a20641acce6e5a
parentbeb1d6f362935de01752d9852bf9209bb594a132
ui: fix opening settings window in datastore panel

When a user directly opened the webui with a fragment that is not
the summary, opening of the 'my settings' window fails because the
initial set of the columns field triggers a state change, which in turn
tries to trigger 'updateColumns'. That fails though, since the columns
were not even rendered yet (because we are on a different tab).

To fix this, simply return when the panel is not rendered yet.

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