mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Change same name logs to toast
This commit is contained in:
@@ -896,7 +896,7 @@ export async function initPresetManager() {
|
||||
return;
|
||||
}
|
||||
if (equalsIgnoreCaseAndAccents(oldName, newName)) {
|
||||
console.warn('Preset name is the same (ignoring case and accents)');
|
||||
toastr.warning('Name not accepted, as it is the same as before (ignoring case and accents).', 'Rename Preset');
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user