mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-14 09:43:22 -03:00
feat(delete): shorten undo window to 20s and make undo toast dismissible
This commit is contained in:
@@ -67,7 +67,7 @@ describe('translate() with real en.json locale', () => {
|
||||
installWindowI18n();
|
||||
|
||||
expect(translate('modals.deleteModel.recoverableWarning')).toBe(
|
||||
'This will permanently delete the file after 30 seconds unless you undo.',
|
||||
'This will permanently delete the file after 20 seconds unless you undo.',
|
||||
);
|
||||
expect(translate('modals.deleteModel.freesSpace', { size: '1.2 MB' })).toBe(
|
||||
'Frees 1.2 MB',
|
||||
|
||||
Reference in New Issue
Block a user