IDEMPIERE-4988 Fix NPE on changeRole

This commit is contained in:
Orlando Curieles 2021-10-15 15:47:09 -04:00 committed by Carlos Ruiz
parent 4759ae5c2b
commit 0192bca743
2 changed files with 5 additions and 3 deletions

View File

@ -310,6 +310,7 @@ public class DPRecentItems extends DashboardPanel implements EventListener<Event
@Override @Override
public void updateUI() { public void updateUI() {
refresh(); refresh();
if (bxRecentItems != null)
bxRecentItems.invalidate(); bxRecentItems.invalidate();
updateDesktopReference(); updateDesktopReference();

View File

@ -224,6 +224,7 @@ public class DPRunningJobs extends DashboardPanel implements EventListener<Event
public void updateUI() public void updateUI()
{ {
refresh(); refresh();
if (bxJobs != null)
bxJobs.invalidate(); bxJobs.invalidate();
updateDesktopReference(); updateDesktopReference();
} }