Update for new migration notification type
This commit is contained in:
parent
ab6e7418bc
commit
00d2953043
@ -632,7 +632,7 @@ import { settings, elements, apiDelete, apiGet, apiPost, eventTitles, parseParam
|
|||||||
var header = document.createElement("h1");
|
var header = document.createElement("h1");
|
||||||
header.innerHTML = data.notifications[i].label;
|
header.innerHTML = data.notifications[i].label;
|
||||||
notification.appendChild(header);
|
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");
|
var migrateButton = document.createElement("button");
|
||||||
migrateButton.type = "button";
|
migrateButton.type = "button";
|
||||||
migrateButton.innerHTML = "Migrate " + data.notifications[i].entity.label + " NOW";
|
migrateButton.innerHTML = "Migrate " + data.notifications[i].entity.label + " NOW";
|
||||||
|
Loading…
Reference in New Issue
Block a user