Update for new migration notification type

This commit is contained in:
L. Bradley LaBoon 2021-03-15 14:40:29 -04:00
parent ab6e7418bc
commit 00d2953043

View File

@ -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";