Skip to content

Commit

Permalink
Merge pull request #893 from jdi-testing/hotfix_869
Browse files Browse the repository at this point in the history
issue_869: Fixed infinity loading status of attachments
  • Loading branch information
arslanbekova committed Jan 6, 2023
2 parents 735e73d + e99cec4 commit c1b2ecf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Expand Up @@ -3,7 +3,7 @@
"name": "JDN",
"description": "JDN – helps Test Automation Engineer to create Page Objects in the test automation framework and speed up test development",
"devtools_page": "index.html",
"version": "3.6.334",
"version": "3.6.335",
"icons": {
"128": "icon128.png"
},
Expand All @@ -19,4 +19,4 @@
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com;"
}
}
}
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jdn-ai-chrome-extension",
"version": "3.6.334",
"version": "3.6.335",
"description": "jdn-ai chrome extension",
"scripts": {
"start": "webpack --watch --env devenv",
Expand Down
7 changes: 5 additions & 2 deletions src/features/reportProblem/ReportProblem.tsx
Expand Up @@ -177,7 +177,10 @@ export const ReportProblem = () => {
<DialogWithForm
modalProps={{
okButtonProps: {
disabled: fileList.length > MAX_COUNT_FILES || filesSize > MAX_FILES_SIZE_MB,
disabled:
fileList.length > MAX_COUNT_FILES ||
filesSize > MAX_FILES_SIZE_MB ||
fileList.some((file) => file.status === "error"),
},
title: "Report a problem",
open: isModalOpen,
Expand Down Expand Up @@ -251,7 +254,7 @@ export const ReportProblem = () => {
</React.Fragment>
}
>
<Upload name="attachments" onChange={handleUploadChange} {...{ fileList }} multiple>
<Upload name="attachments" onChange={handleUploadChange} multiple>
<Tooltip
placement="right"
title={getTextforUploadButtonTooltip()}
Expand Down

0 comments on commit c1b2ecf

Please sign in to comment.