add package issue notification

This commit is contained in:
HorizonCode 2022-10-27 06:37:48 +02:00
parent 72a0d9b780
commit 02d4fa2199

View File

@ -178,6 +178,16 @@ window.addEventListener('DOMContentLoaded', () => {
confirmButtonText: 'Okay' confirmButtonText: 'Okay'
}); });
break; break;
case "package-issue":
Swal.fire({
title: 'Uh oh!',
text: status.message,
icon: 'error',
confirmButtonText: 'Okay'
});
$("#launch-btn").attr('disabled', true);
$('#launch-btn').html('missing packages');
break;
case "update-complete": case "update-complete":
Swal.fire({ Swal.fire({
title: 'Yaaay!', title: 'Yaaay!',