Browse Source

Update for new migration notification type

pull/5/head
L. Bradley LaBoon 7 months ago
parent
commit
00d2953043
  1. 2
      linodes/dashboard/dashboard.js

2
linodes/dashboard/dashboard.js

@ -632,7 +632,7 @@ import { settings, elements, apiDelete, apiGet, apiPost, eventTitles, parseParam
var header = document.createElement("h1");
header.innerHTML = data.notifications[i].label;
notification.appendChild(header);
if (data.notifications[i].type == "migration_pending") {
if (data.notifications[i].type == "migration_pending" || data.notifications[i].type == "migration_scheduled") {
var migrateButton = document.createElement("button");
migrateButton.type = "button";
migrateButton.innerHTML = "Migrate " + data.notifications[i].entity.label + " NOW";

Loading…
Cancel
Save