Add prompt to reload page on extension update

This commit is contained in:
Cohee 2024-01-11 15:03:55 +02:00
parent c1010edb37
commit 64783e73bd

View File

@ -654,7 +654,7 @@ async function updateExtension(extensionName, quiet) {
toastr.success('Extension is already up to date');
}
} else {
toastr.success(`Extension ${extensionName} updated to ${data.shortCommitHash}`);
toastr.success(`Extension ${extensionName} updated to ${data.shortCommitHash}`, 'Reload the page to apply updates');
}
} catch (error) {
console.error('Error:', error);