]> git.proxmox.com Git - proxmox-backup.git/commit
ui: datastore/Content: reload in activate listener
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 1 Oct 2021 09:56:54 +0000 (11:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 4 Oct 2021 08:28:10 +0000 (10:28 +0200)
commit747446eb50f6a165656c0099e693fa494107a76c
treecf51e4db5af416e242ad682ddcf48e63d6593efe
parente1c8c27f47652576677ad08a40aaefc0af58121b
ui: datastore/Content: reload in activate listener

when we trigger the first load before the panel was fully created,
there was no load mask for it (but the snapshots would "pop in" on load)

move the first reload into the 'activate' listener. this will be called
the every time a user opens the content tab of a datastore, so guard
it by a 'firstLoad' bool.

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