lots of churn and changes but will allow to enforce linting again in
the build system.
Also switch over from var to let.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
all autofixed by eslint with a slightly reduced base config rule set
to avoid rules which may give some undesired results in our code
base.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
we did only check if the first field of a mulitfield key is being deleted,
resulting in showing no pending change at all when deleting any other,
and as long as only deletions were taking place
also when deleting the 'main' key of a multikey field, we
showed the deletion of the whole line, even when already showing
a different pending line
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>