diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js b/modules/viewmodel/mw.echo.dm.NotificationsModel.js index 4c77b370a..ae07c7468 100644 --- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js +++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js @@ -481,7 +481,8 @@ data = data || {}; - for ( i = 0; i < data.list.length; i++ ) { + // Backwards compatibility: data.list used to be an object + for ( i in data.list ) { notifData = data.list[ i ]; content = notifData[ '*' ] || {};