Bug 1230735 - AddonWatcher.alerts is now a map;r=Felipe
This commit is contained in:
@@ -568,8 +568,8 @@ var View = {
|
||||
if (watcherAlerts) {
|
||||
let deltaAlerts = watcherAlerts.get(delta.diff.addonId);
|
||||
if (deltaAlerts) {
|
||||
jankSuffix = ` (${deltaAlerts.alerts.longestDuration || 0} alerts)`;
|
||||
cpowSuffix = ` (${deltaAlerts.alerts.totalCPOWTime || 0} alerts)`;
|
||||
jankSuffix = ` (${deltaAlerts.get("longestDuration") || 0} alerts)`;
|
||||
cpowSuffix = ` (${deltaAlerts.get("totalCPOWTime") || 0} alerts)`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user