Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7939b8923 | ||
|
|
a155a90fba |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "no-copy-frontend",
|
"name": "no-copy-frontend",
|
||||||
"version": "0.90.0",
|
"version": "0.91.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 2999",
|
"dev": "next dev -p 2999",
|
||||||
|
|||||||
@@ -321,14 +321,14 @@ export default function SectionSearchFile() {
|
|||||||
style={{ display: 'none' }}
|
style={{ display: 'none' }}
|
||||||
onChange={handleFileInputChange}
|
onChange={handleFileInputChange}
|
||||||
aria-label="Выбор файла для защиты"
|
aria-label="Выбор файла для защиты"
|
||||||
disabled={isFileSearchLoading || (uploadProgress !== undefined && uploadProgress !== 100)}
|
disabled={isFileSearchLoading || (uploadProgress && uploadProgress !== 100 ? true : false)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
className="btn btn-primary"
|
className="btn btn-primary"
|
||||||
onClick={handleButtonClick}
|
onClick={handleButtonClick}
|
||||||
type="button"
|
type="button"
|
||||||
disabled={isFileSearchLoading || (uploadProgress !== undefined && uploadProgress !== 100)}
|
disabled={isFileSearchLoading || (uploadProgress && uploadProgress !== 100 ? true : false)}
|
||||||
>
|
>
|
||||||
Выбрать файл
|
Выбрать файл
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user