]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
ui: journalview: fix wrong first load with timespan
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 23 Nov 2021 09:49:35 +0000 (10:49 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Nov 2021 11:58:03 +0000 (12:58 +0100)
commitaeecc06ce157fb7edfe6f13d9b5fb17bf2d6f96b
tree45317a5f7f883c4673bcb8f0de773153eaf7b33c
parent3ccdce40553d28eddd8cbb1a60534f7e77478f90
ui: journalview: fix wrong first load with timespan

calling updateParams here lead to making an api call with the default
timespan (last 3 days) on pbs/pmg when going to the 'administration'
panel, even though it would never be shown since on tab activate we would
show the 'live mode' which does not use the timespan

on pve this did not happen since the journalview is on its own page and
the change to livemode triggered too fast..

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/panel/JournalView.js