Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: should filter files by accept when select dir #302

Merged
merged 3 commits into from
Mar 5, 2021
Merged

Conversation

kerm1it
Copy link
Member

@kerm1it kerm1it commented Mar 5, 2021

fix ant-design/ant-design#29619

onChange 的时候,files 经过 accept 过滤。

@vercel
Copy link

vercel bot commented Mar 5, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/upload/C3TsSjpqq7rd7RSymXsNHFsKxk4o
✅ Preview: https://upload-git-fix-accept-react-component.vercel.app

@codecov
Copy link

codecov bot commented Mar 5, 2021

Codecov Report

Merging #302 (8f4b483) into master (8f68f53) will increase coverage by 0.50%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
+ Coverage   81.27%   81.77%   +0.50%     
==========================================
  Files           6        6              
  Lines         235      236       +1     
  Branches       57       57              
==========================================
+ Hits          191      193       +2     
+ Misses         44       43       -1     
Impacted Files Coverage Δ
src/AjaxUploader.tsx 80.80% <100.00%> (+0.15%) ⬆️
src/attr-accept.ts 77.77% <0.00%> (+5.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f68f53...e7d1c86. Read the comment docs.

@kerm1it kerm1it requested a review from zombieJ March 5, 2021 02:32
src/AjaxUploader.tsx Outdated Show resolved Hide resolved
src/AjaxUploader.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accept attribute is ignored when directory selected
3 participants