mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #751 from GaborApatiNagy/CA-187932_2
CA-187932: Cancelled tasks are reported as errors in XenCenter
This commit is contained in:
commit
45dfd11dd1
@ -456,7 +456,7 @@ namespace XenAdmin
|
||||
: null);
|
||||
}
|
||||
|
||||
int errors = ConnectionsManager.History.Count(a => a.IsCompleted && !a.Succeeded);
|
||||
int errors = ConnectionsManager.History.Count(a => a.IsCompleted && !a.Succeeded && !((a is CancellingAction) && ((CancellingAction)a).Cancelled));
|
||||
navigationPane.UpdateNotificationsButton(NotificationsSubMode.Events, errors);
|
||||
|
||||
if (eventsPage.Visible)
|
||||
|
Loading…
Reference in New Issue
Block a user