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>
This commit is contained in:
parent
3ccdce4055
commit
aeecc06ce1
@ -198,7 +198,6 @@ Ext.define('Proxmox.panel.JournalView', {
|
||||
|
||||
view.loadTask = new Ext.util.DelayedTask(me.doLoad, me, [true, false]);
|
||||
|
||||
me.updateParams();
|
||||
view.task = Ext.TaskManager.start({
|
||||
run: function() {
|
||||
if (!view.isVisible() || !view.scrollToEnd || !viewmodel.get('livemode')) {
|
||||
|
Loading…
Reference in New Issue
Block a user