Also use migration_scheduled event type for maintenance notifs

This commit is contained in:
L. Bradley LaBoon 2022-09-14 22:15:13 -04:00
parent 2311f43537
commit 1343a2e435

View File

@ -392,7 +392,7 @@ import { settings, elements, regionNames, apiGet, parseParams, setupHeader } fro
{
// Add maintenance windows from notifications
for (var i = 0; i < data.notifications.length; i++) {
if (data.notifications[i].type != "maintenance")
if (data.notifications[i].type != "maintenance" && data.notifications[i].type != "migration_scheduled")
continue;
for (var j = 0; j < data.linodes.length; j++) {