mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Clean-up vectors upon deleting a file from Data Bank
This commit is contained in:
@ -558,6 +558,7 @@ async function deleteFileFromServer(url) {
|
||||
throw new Error(error);
|
||||
}
|
||||
|
||||
await eventSource.emit(event_types.FILE_ATTACHMENT_DELETED, url);
|
||||
return true;
|
||||
} catch (error) {
|
||||
toastr.error(String(error), 'Could not delete file');
|
||||
|
Reference in New Issue
Block a user