]> git.proxmox.com Git - proxmox-backup.git/commit
ui: update group notes: fix obj access and rewrite to async
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jul 2021 05:54:41 +0000 (07:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jul 2021 05:55:02 +0000 (07:55 +0200)
commit8866cbccc878b073fe9a6ca6675ab50f1b0cfda8
tree06261eb27029cbaaea4663972e974912ad0e0d83
parentb3477d286f20eba983663f74a38849389d752f53
ui: update group notes: fix obj access and rewrite to async

eslint is configured to not allow using quoted object keys if they
could be just passed in dot notation, e.g.,
wrong: `group["comment"]`
good:  `group.comment`

It's not a big problem but eslint fails the build with the wrong one,
so this needs to be fixed anyway..

Also, rewrite to async, shorter and less indentation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/datastore/Content.js