mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-19 05:09:26 +01:00
💄Fix format
💄Fix format
This commit is contained in:
@@ -185,11 +185,7 @@
|
||||
const totalFilesCount = currentFilesCount + inputFilesCount;
|
||||
|
||||
if (currentFilesCount >= maxFiles || totalFilesCount > maxFiles) {
|
||||
toast.error(
|
||||
$i18n.t('File count exceeds the limit of {{size}}', {
|
||||
count: maxFiles
|
||||
})
|
||||
);
|
||||
toast.error(`File count exceeds the limit of '${maxFiles}'. Please remove some files.`);
|
||||
if (currentFilesCount >= maxFiles) {
|
||||
return [false, null];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user