Compare commits

...
2 Commits
Author SHA1 Message Date
smanylov c7939b8923 fix button disable for search page 2026-04-17 17:10:17 +07:00
smanylov a155a90fba increment version 2026-04-17 14:36:22 +07:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "no-copy-frontend",
"version": "0.90.0",
"version": "0.91.0",
"private": true,
"scripts": {
"dev": "next dev -p 2999",
+2 -2
View File
@@ -321,14 +321,14 @@ export default function SectionSearchFile() {
style={{ display: 'none' }}
onChange={handleFileInputChange}
aria-label="Выбор файла для защиты"
disabled={isFileSearchLoading || (uploadProgress !== undefined && uploadProgress !== 100)}
disabled={isFileSearchLoading || (uploadProgress && uploadProgress !== 100 ? true : false)}
/>
<button
className="btn btn-primary"
onClick={handleButtonClick}
type="button"
disabled={isFileSearchLoading || (uploadProgress !== undefined && uploadProgress !== 100)}
disabled={isFileSearchLoading || (uploadProgress && uploadProgress !== 100 ? true : false)}
>
Выбрать файл
</button>