mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-13 10:00:36 +01:00
Add prompt to reload page on extension update
This commit is contained in:
parent
c1010edb37
commit
64783e73bd
@ -654,7 +654,7 @@ async function updateExtension(extensionName, quiet) {
|
|||||||
toastr.success('Extension is already up to date');
|
toastr.success('Extension is already up to date');
|
||||||
}
|
}
|
||||||
} else {
|
} 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) {
|
} catch (error) {
|
||||||
console.error('Error:', error);
|
console.error('Error:', error);
|
||||||
|
Loading…
Reference in New Issue
Block a user