Also use migration_scheduled event type for maintenance notifs
This commit is contained in:
parent
2311f43537
commit
1343a2e435
@ -392,7 +392,7 @@ import { settings, elements, regionNames, apiGet, parseParams, setupHeader } fro
|
|||||||
{
|
{
|
||||||
// Add maintenance windows from notifications
|
// Add maintenance windows from notifications
|
||||||
for (var i = 0; i < data.notifications.length; i++) {
|
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;
|
continue;
|
||||||
|
|
||||||
for (var j = 0; j < data.linodes.length; j++) {
|
for (var j = 0; j < data.linodes.length; j++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user