diff --git a/ui/scripts/ui-custom/dashboard.js b/ui/scripts/ui-custom/dashboard.js index db4ffeec7da..9c5b19ccf41 100644 --- a/ui/scripts/ui-custom/dashboard.js +++ b/ui/scripts/ui-custom/dashboard.js @@ -144,13 +144,15 @@ if ($(this).hasClass('network')) $('#navigation li.network').click(); else { $browser.cloudBrowser('addPanel', { - title: 'Alerts', + title: $dashboard.hasClass('admin') ? 'Alerts' : 'Events', maximizeIfSelected: true, complete: function($newPanel) { $newPanel.listView({ $browser: $browser, context: cloudStack.context, - listView: cloudStack.sections.events.sections.alerts.listView + listView: $dashboard.hasClass('admin') ? + cloudStack.sections.events.sections.alerts.listView : + cloudStack.sections.events.sections.events.listView // Users cannot see events }); } });