Skip to content

Commit

Permalink
Merge pull request #787 from dennis531/file-remove
Browse files Browse the repository at this point in the history
Hide file remove button if no record file selected
  • Loading branch information
lkiesow committed Jul 2, 2024
2 parents 424df3e + c47fd92 commit 16eb84f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ const Upload = ({ formik }) => {
</td>
<td className="fit">
<button
style={{ visibility: asset.file ? "visible" : "hidden" }}
className="button-like-anchor remove"
onClick={(e) => {
formik.setFieldValue(
Expand Down

0 comments on commit 16eb84f

Please sign in to comment.